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


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

execute it as  diePerlPath.pl or perl -e " die $^X" so you can learn which perl is being executed

If you have a specific perl in mind, use an absolute path to it

And manage your %PATH% and associations so you're using the perl you want to use and not the other one

On win32 , shells, %PATH% and the like

vienv - Edit local environment variables on Win32, CleanPath

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:58 UTC
    Anonymous Monk thanks for the response. I want to use the latest instance of perl i.e perl v5.16.2 that came with Active Perl and not the one with Oracle. I have executed the code and i recieved the following results:
    C:\>perl -e " die $^X" C:\Perl\bin\perl.exe at -e line 1.
    Thanks for the codes, i will go through them and try to execute them.