in reply to Re: WWW::Mechanize::Firefox - MozRepl : pattern match eof
in thread WWW::Mechanize::Firefox - MozRepl : pattern match eof

Thanks Corion. I'll work on a sample script and see if I can get this replicated and share the code. Am new to Perl and Mechanize::Firefox, is there a way I can get this or any other fatal error from WWW::Mechanize::Firefox ignored and have the script proceed. I have set autodie=>0 for the WWW::Mechanize::Firefox object, but that doesn't seem to be helping in this case. Is there a better option to get the errors ignored?

Thanks for your help.

  • Comment on Re^2: WWW::Mechanize::Firefox - MozRepl : pattern match eof

Replies are listed 'Best First'.
Re^3: WWW::Mechanize::Firefox - MozRepl : pattern match eof
by Corion (Patriarch) on Dec 09, 2011 at 09:35 UTC

    As I already said, this error does not originate from WWW::Mechanize::Firefox.

    Maybe you want to look at eval and wrap the browser operations in it.

      I have an eval in place already, but the script terminates every time upon receiving this error. I'll check more on MozRepl::Client, I get it now when you say the error does not originate from WWW::Mechanize::Firefox. Thanks for your help.