Perl Monk, Perl Meditation | |
PerlMonks |
Re: How do I include a file and execute the code in the file?by chromatic (Archbishop) |
on May 21, 2001 at 05:57 UTC ( [id://81896]=note: print w/replies, xml ) | Need Help?? |
Write a module that exports functions. Call the functions instead of requireing the file. See perlmod or use Super Search to look for 'writing a module'.
In Section
Seekers of Perl Wisdom
|
|