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:
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 have tried to execute where perl and i got the following path:
C:\Perl Scripts>where perl
C:\Perl\bin\perl.exe
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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|