in reply to Re: Howto set path for local package in a Perl code
in thread Howto set path for local package in a Perl code
use lib only adds the path to @INC, you still need to use MyPackage after it.use FindBin; use lib "$FindBin::Bin"; use MyPackage;
|
|---|