Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Why am I getting two different results for my @INC variable?

by tinita (Parson)
on Nov 29, 2011 at 00:45 UTC ( #940497=note: print w/replies, xml ) Need Help??


in reply to Why am I getting two different results for my @INC variable?

It would be a great help if you actually posted the results you are getting.
My guess is: the perl you call from commandline is a different one than the one of the perl script.
How do you call the perl script? ./script.pl or perl script.pl?
What does the command which perl output?
What's the shebang (first line) of the script?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940497]
help
Chatterbox?
[karlgoethebier]: Lady_Aleena: "Studying the sources is the way to go" (Dr Wisenheimer) ;-)
[Lady_Aleena]: karlgoethebier, when I don't know what I am looking at, it makes it hard to figure things out.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-06-26 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (575 votes). Check out past polls.