good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Use module questions..by kiat (Vicar) |
on Apr 20, 2003 at 03:52 UTC ( [id://251771]=note: print w/replies, xml ) | Need Help?? |
Thanks, pfaut! So if power.cgi is in a different directory from Test.pm, I should use '.', right? And if I want to make the subroutine 'power' available automatically in the main script (i.e. power.cgi), I should include it in our @EXPORT = qw(&power $hello_away);, right? If I do that, then I won't need the @EXPORT_OK array. Please let me know if I understood you correctly =)
In Section
Seekers of Perl Wisdom
|
|