http://www.perlmonks.org?node_id=940497


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?