Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
[SuicideJunkie]: email tests, eh? I've gotten dinged for "you can't block this sender as spam, they're internal"
[Corion]: Heh - somebody in our marketing departement thought it was a great idea to use the alerting tool for company-wide outages to announce some new feature ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2017-05-24 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?