in reply to can't get www::mechanize::firefox to work

Maybe explicitly set the port. It seems weird that WWW::Mechanize::Firefox would fail where telnet works. Maybe $ENV{MOZREPL} is set?
  • Comment on Re: can't get www::mechanize::firefox to work

Replies are listed 'Best First'.
Re^2: can't get www::mechanize::firefox to work
by Special_K (Pilgrim) on Apr 13, 2013 at 19:16 UTC

    I added

    $ENV{MOZREPL} = "localhost:4242";

    but that didn't change anything.

      That's weird.

      From the test scripts all skipping, it seems that telnet can connect. So I suggest you consult with your system administrator as to why that would be while Firefox cannot connect from the same machine.

        I was reading the documentation for MozRepl and found this:

        In cygwin, please add binmode param as 1 in client args.

        $repl->setup({ client => { extra_client_args => { binmode => 1 } } });

        Is the above relevant to www::mechanize::firefox? How would I implement the above using the functions included in www::mechanize::firefox?