Think about Loose Coupling | |
PerlMonks |
(z) Re: Perl Script Calling Another Perl Scriptby zigdon (Deacon) |
on Nov 20, 2003 at 20:25 UTC ( [id://308684]=note: print w/replies, xml ) | Need Help?? |
Another option, that is probably more efficient, is to take the code from prog2, and move it into a module, that can then be used from many programs: You would create Code.pm:Then, prog1 can do: And prog2 is: Does that make sense? -- zigdon
In Section
Seekers of Perl Wisdom
|
|