laziness, impatience, and hubris | |
PerlMonks |
Re^2: Howto set path for local package in a Perl codeby chibiryuu (Beadle) |
on Jun 02, 2006 at 16:32 UTC ( [id://553331]=note: print w/replies, xml ) | Need Help?? |
Example: Use FindBin and your script will work no matter where you move it and its modules together.
use lib only adds the path to @INC, you still need to use MyPackage after it.
In Section
Seekers of Perl Wisdom
|
|