Can't locate WWW/Mechanize/Firefox.pm in @INC (@INC contains: C:/Perl/ +site/lib C :/Perl/lib .) at C:\Perl Scripts\Open_Site.pl line 4. BEGIN failed--compilation aborted at C:\Perl Scripts\Open_Site.pl line + 4.
I am trying to execute few examples provided in http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.68/lib/WWW/Mechanize/Firefox.pm. As suggested in this site, i have Mozrepl add on installed in my site. i also have LWP module installed
But i am not able to install this particular module WWW::Mechanize::Firefox. It appears that i have 2 versions of perl installed. I have 2 versions perl v5.8.3 (which came along with Oracle installation.) and perl v5.16.2 which had come with Active perl installation and because of which i believe i am facing these issues. I had executed one of the scripts that someone suggested in one of the forums to check INC and i recieved the following results:
I have tried to execute where perl and i got the following path:C:\Perl Scripts>Check_INC.pl C:\Perl\lib C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib/MSWin32-x86-multi-thread C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib/MSWin32-x86-multi-th +read C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib C:\oracle\product\10.2.0\db_1\sysman\admin\scripts C:\oracle\product\10.2.0\db_1\perl\lib\5.8.3\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\lib\5.8.3 C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86-multi-thread C:\oracle\product\10.2.0\db_1\perl\site\5.8.3 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib/MSWin32-x86-multi-th +read C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib C:\oracle\product\10.2.0\db_1\sysman\admin\scripts C:/Perl/site/lib C:/Perl/lib
I am using Windows 7 basic edition and i have installed Active Perl in my system to work with Perl. Please suggest how do i avoid this error and help me install www::mechanize::firefox correctly. If uninstalling Oracle would help then i would do that as well.C:\Perl Scripts>where perl C:\Perl\bin\perl.exe
In reply to Can't locate WWW/Mechanize/Firefox.pm in @INC by Pavan Renjal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |