'/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 |
In reply to Re: Use module questions..
by pfaut
in thread Use module questions..
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |