Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

mozrepl plus www.mecha firefox - curious errors

by Perlbeginner1 (Scribe)
on Oct 25, 2012 at 23:47 UTC ( #1000968=perlquestion: print w/replies, xml ) Need Help??
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 Can't locate WWW/Mechanize/ 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 line 4. BEGIN failed--compilation aborted at 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 (Priest) 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 ));

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1000968]
Approved by rovf
[Corion]: Ouch! It seems that MacOS "High Sierra" doesn't handle fork() calls while there are threads running. I'm not really sure whether one should mix fork and threads though...
[ambrus]: Corion: pre-fork before creating any threads
[ambrus]: it's good practice anyway, even if Linux tolerates forking after creating threads (tolerates, as in, the fork works, but other threads are dead which can lead to interesting deadlocks)
[marto]: could be worse, could be dust
[ambrus]: Corion: if you're forking from perl, then schmorp has a module that helps this prefork magic

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-10-19 14:45 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (253 votes). Check out past polls.