Perl-Sensitive Sunglasses | |
PerlMonks |
Subroutines not exporting? Why?by no21 (Sexton) |
on Jul 06, 2015 at 14:06 UTC ( [id://1133361]=perlquestion: print w/replies, xml ) | Need Help?? |
no21 has asked for the wisdom of the Perl Monks concerning the following question: I have to be doing something dumb to not realize what the problem is here. I have a script with the following:
The following file exists: /home/username/testmodules/My/Util.pm The Util.pm file basically contains the following:
When I run the script, I get:
I've googled this problem and found many, many pages discussing this very topic, and from everything I can tell I'm doing things correctly. It's acting like the subroutines from the Util.pm module are not being exported, but I am using other modules successfully and (I appear to be) exporting their functions the exact same way. Please expose my ignorance. I MUST be missing something.
Back to
Seekers of Perl Wisdom
|
|