Run a subroutine, then replace subroutine and run again



Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which these two similar subroutines created.

How do I run the subroutine and generate my set of hashes, then replace the sub with the other and run again, but into different hashes.

What I have is: a) use termareg and b) use termregall

which is called by termareg( ... ); # where ... are the hashes passed

Been setup like this for over 2.5 years and this is the first time I need the data from both at the same time. I would rather not rename since that would require other processing changes in a production environment.


Any questions and/or problems, please let me know.

Thanks!

Wags ;)
WGO: x2224



*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************

.



Relevant Pages

  • RE: Run a subroutine, then replace subroutine and run again
    ... >> two similar subroutines created. ... >> then replace the sub with the other and run again, ... >> different hashes. ... so you can control when the second subroutine gets ...
    (perl.beginners)
  • RE: Run a subroutine, then replace subroutine and run again
    ... but I have two subroutines with the same name which is fine ... >> because I have not had a need to use the hashes which these two ... >> replace the sub with the other and run again, ... Prev by Date: ...
    (perl.beginners)
  • Re: Run a subroutine, then replace subroutine and run again
    ... because I have not had a need to use the hashes which these two similar subroutines created. ... How do I run the subroutine and generate my set of hashes, then replace the sub with the other and run again, but into different hashes. ... RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? ...
    (perl.beginners)
  • Re: MEX crashing
    ... I've found that the main script crashes at two points, ... subroutines that are in other C files. ... Is there any difference between how C compilers and Matlab interpret ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Re: Toolbar or Taskbar
    ... I want to add a toolbar that contains buttons that activate the ... I would put the code in subroutines and call the subroutines from both ... Rick - MVP ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)