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:

#! /usr/bin/perl use 5.016; # adjust to suit the version identified from the + C:> prompt with <c>perl -v
use ExtUtils::Installed; my $module; my $inst = ExtUtils::Installed->new(); my (@modules) = $inst->modules(); foreach $module (@modules) { say "$module"; } </c>

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.


In reply to Re^3: Can't locate WWW/Mechanize/Firefox.pm in @INC by ww
in thread Can't locate WWW/Mechanize/Firefox.pm in @INC by Pavan Renjal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.