Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Perl module path not foundby RichardK (Parson) |
on Oct 07, 2015 at 13:57 UTC ( [id://1144065]=note: print w/replies, xml ) | Need Help?? |
use lib '..'; says use the parent of the CWD, so what is the current directory when you call the script? _If_ the script is run from /cgi-bin the you're setting the lib path to '/' but your module is in /cgi-bin/lib, so there's no wonder that you can't find it. try use lib 'lib';
In Section
Seekers of Perl Wisdom
|
|