What is missing from your module code is the package statement. As you have it now, you just include module.pm into the same namespace as the main program, which makes all functions trivially accessible
Add a "package Module;" as the first line of your Module.pm and it should work as expected.
In reply to Re: Exporter Module
by jethro
in thread Exporter Module
by anbutechie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |