Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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

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

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

Thanks for the replies so far.

Reading, I found

which points out:

First, let's see what are the contents of @INC on my system: % perl -e 'print join "\n", @INC' /usr/lib/perl5/site_perl/5.005 . Notice the . (current directory) is the last directory in the list.
And I note that in the error message I receive, "." is the last entry. That is, @INC does in fact have the current directory in it. So I think that when I use the correct relative path, "../", it is finding it.

So the mystery is the original "bad name" error.

Time flies like an arrow. Fruit flies like a banana.

Comment on Re: Bad Name or Missing @INC entry - "require" path fail.
Download Code
Replies are listed 'Best First'.
Re^2: Bad Name or Missing @INC entry - "require" path fail.
by vinoth.ree (Prior) on Feb 26, 2013 at 07:41 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2015-11-28 07:26 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls