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

I cannot help you there. That error seems to come from MozRepl::Client or somewhere else. Most likely, Firefox has a problem and needs to be restarted.

If you can't provide code that easily replicates the problem to make it conveniently testable, you will need to work on your problem until you have such code.

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

Replies are listed 'Best First'.
Re^2: WWW::Mechanize::Firefox - MozRepl : pattern match eof
by trystwithperl (Initiate) on Dec 09, 2011 at 09:12 UTC

    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.

      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.