Instead of a use lib statement, you might also consider setting the PERL5LIB environment variable.
In reply to Re: Re: installing local modules by BazB in thread installing local modules by emilford