When I'm at my Linux prompt I write in the following command:
perl -e 'print join("\n", @INC);'...I get a set of paths.
However, when I edit a .pl file and type in use [module]; in that file, I get an error at my prompt that says Can't locate [module].pm in @INC (@INC contains: [...]) but the problem is the list of paths that follow are entirely different from the ones I got when I did the perl -e 'print join("\n", @INC);' command. Why am I getting two sets of results, and which one is correct?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |