Just another Perl shrine | |
PerlMonks |
Re: Re: How to create a reusable routine ?by snowcrash (Friar) |
on Apr 02, 2004 at 14:06 UTC ( [id://341975]=note: print w/replies, xml ) | Need Help?? |
There's a special variable called @INC, it contains the paths in which perl looks for modules when you use one. An easy way to add directiories to @INC is the lib module. Just put these lines into the module/script that needs to call subroutines in authenticate.pm.
In Section
Seekers of Perl Wisdom
|
|