Perlbeginner1 has asked for the wisdom of the Perl Monks concerning the following question:

hello have running m ozrepl


but i ve gotten this error.

what is missin here - www:mechanize!?

code here martin@linux-wyee:~/perl> perl moz_test1.pl Can't locate WWW/Mechanize/Firefox.pm in @INC (@INC contains: /usr/lib +/perl5/site_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/site_p +erl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i586-linux-thread-multi +/usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i586-linux-th +read-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/si<te_perl/5.16.0/i58 +6-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/s +ite_perl .) at moz_test1.pl line 4. BEGIN failed--compilation aborted at moz_test1.pl line 4. martin@linux-wyee:~/perl> ^C martin@linux- wyee:~/perl>




what is missin here - www:mechanize!?

Replies are listed 'Best First'.
Re: mozrepl plus www.mecha firefox - curious errors
by 2teez (Vicar) on Oct 26, 2012 at 00:15 UTC

    You probably don't have the module WWW::Mechanize::Firefox installed on your system or in your Perl standard directories which is on your system.

    If you tell me, I'll forget.
    If you show me, I'll remember.
    if you involve me, I'll understand.
    --- Author unknown to me
      hello there


      guess that you were right- i want to i have to check it via commmandline...

      btw- a superb motto -


      If you tell me, I'll forget.
      If you show me, I'll remember.
      if you involve me, I'll understand.


      great words - and now i am going to check the prerequisites ... come back
        This will take care of the prerequisites:
        #!/usr/bin/perl BEGIN { $| = 1; $^W = 1; } use strict; use autodie; use warnings; use CPAN; CPAN::Shell->install(qw( Task::Mechanistic Spiffy Filter::Util::Call Test::Base HTML::Selector::XPath JSON IO::Pty IPC::Run Params::Util Class::Default Data::JavaScript::Anon Net::Telnet Carp::Clan Text::SimpleTable Class::Data::Inheritable AppConfig Carp::Clan Data::Dump Text::SimpleTable AppConfig Template Class::Accessor Template::Provider::FromDATA UNIVERSAL::require Module::Pluggable::Fast URI MozRepl MozRepl::RemoteObject parent Algorithm::C3 Class::C3 MRO::Compat Math::BigInt Object::Import ExtUtils::Command Shell::Command Task::Weaken IO::HTML WWW::Mechanize::Link WWW::Mechanize::Firefox ));