use lib only adds the path to @INC, you still need to use MyPackage after it.use FindBin; use lib "$FindBin::Bin"; use MyPackage;
In reply to Re^2: Howto set path for local package in a Perl code
by chibiryuu
in thread Howto set path for local package in a Perl code
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |