Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Bad Name or Missing @INC entry - "require" path fail.

by Khen1950fx (Canon)
on Feb 26, 2013 at 07:20 UTC ( #1020620=note: print w/ replies, xml ) Need Help??


in reply to Bad Name or Missing @INC entry - "require" path fail.

The reason that you want to use an absolute path is that require() will just make an attempt to read the file without checking @INC; however, if you give a relative path, require() will check all the files in @INC, hence the error...

Can't locate ../../config.pl in @INC


Comment on Re: Bad Name or Missing @INC entry - "require" path fail.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-12-25 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls