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

Does your .pl file contain any use lib '...'; lines? Does its shebang line point to the same perl binary as which perl reports on the command line? Does it include any switches such as -I or -T?


Improve your skills with Modern Perl: the free book.