The first line of HELPER.pm says: package Helper.
The 5th line of test.pl is use HELPER;
Though your filesystem may or may not be case-sensitive, package names are identifiers, and Perl's identifiers are case sensitive. You should be consistent in your use of case. I recommend naming the module Helper.pm, the package, Helper, and then "use Helper;". But if you prefer all caps, make sure your package name is all caps too.
Dave
In reply to Re: Export function from module
by davido
in thread Export function from module
by iang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |