in reply to Use module questions..
'/httpd/cgi-bin/module' is an absolute path. It always refers to the same place. '.' is a relative path. If you run the script from a different directory, you won't find your modules.
@EXPORT is what gets exported if the user doesn't request a different export list. If you know what you want exported, specify it explicitly as in your second example instead of relying on the module maintainer to not change @EXPORT.
90% of every Perl application is already written. ⇒ |
dragonchild |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Use module questions..
by kiat (Vicar) on Apr 20, 2003 at 03:52 UTC | |
by benn (Vicar) on Apr 20, 2003 at 11:02 UTC | |
by pfaut (Priest) on Apr 20, 2003 at 15:11 UTC |
In Section
Seekers of Perl Wisdom