There's more than one way to do things | |
PerlMonks |
Re: Export from module in subdirectoryby toolic (Bishop) |
on Oct 09, 2012 at 18:49 UTC ( [id://998054]=note: print w/replies, xml ) | Need Help?? |
Inside test.pm you need to declare the package as:
Then you can use min(); in test.pl. That being said, you should eventually select better names than lib and test.
In Section
Seekers of Perl Wisdom
|
|