![]() |
|
No such thing as a small change | |
PerlMonks |
Include subs from different perl fileby ikkeniet (Acolyte) |
on Jun 06, 2007 at 08:42 UTC ( #619554=perlquestion: print w/replies, xml ) | Need Help?? |
ikkeniet has asked for the wisdom of the Perl Monks concerning the following question:
This is probably a stupid beginners question but one has to begin somewhere...
I have a perl file that contains a whole bunch of subroutines. I have a set of different perl scripts that would reuse the subroutines so that I do not have to copy paste the routines all the time. An important question I have regarding this is that when above is possible, are the variables then known in the load shared library. Example: mainscript.pl
routines.pl contains
Back to
Seekers of Perl Wisdom
|
|