The -I. forces the current directory to be searched first.shell> mkdir Foo shell> mv Bar.pm Foo/ shell> perl -I. -MFoo::Bar -e 'print barfoo("blah");'
_________
broquaint
In reply to Re: perl -M using a module in current dir
by broquaint
in thread perl -M using a module in current dir
by electrosphere
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |