in reply to [solved] WWW::Mechanize::Firefox stops after $mech->get()

You don't tell us what version you upgraded from and to.

If you review the Changes file, there were heavy changes in v0.69, which now relies heavily on a set of events, and your code eliminates two of the three required events. I would assume that that is part of the problem.

  • Comment on Re: WWW::Mechanize::Firefox stops after $mech->get()

Replies are listed 'Best First'.
Re^2: WWW::Mechanize::Firefox stops after $mech->get()
by ground0 (Novice) on Feb 22, 2013 at 20:26 UTC
    Corion, beautiful! I have indeed upgraded from I *believe* 0.68 to 0.71. So I am sure this is my issue. I will try making the appropriate changes on my dev box and test again. Stupid is as stupid does (blindly typing upgrade into CPAN console).

      Corion I just wanted to thank you one more time! I removed the extraneous constructor 'events' params, and my program is running once again.

      I really appreciate your immediate response, and I'm so thankful it was something simple... I'm using Parallel::ForkManager to handle multiple Firefox tabs at the same time, and I wrapped all of the WWW::Mechanize::Firefox methods inside try{} so I potentially had a HUGE problem on my hands!

      Simply removing the 'events' params with a s///g in vi fixed my code for v0.71, and I wrote a huge note to upgrade CPAN stuffs individually (and not run upgrade sans options) :)

      -gz