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

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

by punch_card_don (Curate)
on Feb 26, 2013 at 07:42 UTC ( #1020625=note: print w/replies, xml ) Need Help??

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

OK - figured it out.

As mentioned in my post above - the "." current directory was in @INC, so it was doing the relative path from the current directory just fine when the relative path was correct. Of course when I changed it to something incorrect, it correctly reported that it could not find with that relative path from any of the iclude directories in @INC.

The error was in the required file, Where, on line 17 (not 18 as reported), there was a typo just after "main'".

"at ../" in the error message was referring to "in the required file, ../, at line 18", not "at line 18 of the current script at ../".

Time flies like an arrow. Fruit flies like a banana.
  • Comment on Re: Bad Name or Missing @INC entry - "require" path fail.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2016-10-27 21:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (371 votes). Check out past polls.