Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl module path not found

by RichardK (Parson)
on Oct 07, 2015 at 13:57 UTC ( #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
Node Status?
node history
Node Type: note [id://1144065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2020-06-05 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?