On Jun 9, 2004, at 9:19 AM, Werner Otto wrote:
Hi All,
How would I go about calling a sub from a script from another script.
I am trying to call that sub just to get the values in my current
script and then perform aditional logic, other than duplicating the process?
[..]
what you might want to do is learn about 'perl modules'
perldoc perlmod
since it will be easier in the long run if you build one module that has the function in it that both scripts can then 'use'.
Today it's one function in some other script, then next thing you know you have a bunch of scripts using serveral commonly shared functions.
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>