http://qs321.pair.com?node_id=1144065


in reply to Perl module path not found

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';