Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl module path not found

by RichardK (Parson)
on Oct 07, 2015 at 13:57 UTC ( [id://1144065]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1144065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-19 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found