in reply to Re: "Cannot find location"
in thread "Cannot find location"

or you can add it to your @INC path:
BEGIN { push @INC, '/root/perl5/lib/perl5'; }

That's nearly exactly what use lib does: See lib. (use lib unshifts, i.e. the extra directory is searched first, not last.)

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)