>>>>> "Jeff" == Jeff Westman <[EMAIL PROTECTED]> writes:

Jeff> It's not that I am resistant.  Both scripts are used by other processes
Jeff> (called from shell scripts, not perl scripts), so it is pointless to add it
Jeff> as a sub-routine, otherwise that would be the ideal method I think.

In that case, factor out the common functionality from the second
script into a module, replace the second script with a simple wrapper
around the module, and then incorporate a call to the module into
your first script.

Forking is bad, m'kay?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to