Is Bar.pm in ./Foo? If not, just do
perl -MBar -e 'print barfoo("blah");',
even if it says package Foo::Bar inside.
In reply to Re: perl -M using a module in current dir
by ikegami
in thread perl -M using a module in current dir
by electrosphere
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |