in reply to Re^2: Can't locate WWW/Mechanize/Firefox.pm in @INC
in thread Can't locate WWW/Mechanize/Firefox.pm in @INC
Don't guess! The answer based on a guess has very little value as a response to a question from someone who's trying to help.
Try the command suggested in Re: Can't locate WWW/Mechanize/Firefox.pm in @INC and then tell us what it does (more on this -- how to execute -- is below).And don't rely on external tools (either Check_INC.pl, which you don't show) nor where to tell you something about Perl that you can learn from your own Perl.
$ perl -v ; perl -e "print join \"\n\", @INC" can both help, or, use this little piece of code, which appeared here recently:
use ExtUtils::Installed; my $module; my $inst = ExtUtils::Installed->new(); my (@modules) = $inst->modules(); foreach $module (@modules) { say "$module"; } </c>#! /usr/bin/perl use 5.016; # adjust to suit the version identified from the + C:> prompt with <c>perl -v
The die $^X command gets executed from your command prompt, "C:\>" by preference (mine, an idiosyncracy) like this:
perl -E "die $^X;"
which will print something like this: C:\Perl\bin\perl.exe at -e line 1. where the part before the "(period)exe" is your path to perl.
... but at a quick glance, it appears from the content of your second code block that you're executing Oracle's 5.8 version of Perl... in which case, perhaps you didn't ask (Active State?) to add 5.16 to your path. So check your path too... is there an instance of Perl that's not in an Oracle directory?
Oh yes; @Annonymous Monk doesn't live here. But you can address Monks by name, by [name]... for example, to say your name to call you attention to this, I use that form of address: Pavan Renjal
Update: http://www.perl.com/pub/2002/05/14/mod_perl.html (under the heading "use(), require(), do(), %INC and @INC Explained" may be illuminating.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Can't locate WWW/Mechanize/Firefox.pm in @INC
by Pavan Renjal (Initiate) on Jan 17, 2013 at 21:52 UTC | |
by ww (Archbishop) on Jan 18, 2013 at 00:40 UTC |