Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: WWW::Mechanize::Firefox->new() tcp/ip port?

by ground0 (Novice)
on Mar 25, 2013 at 21:29 UTC ( #1025393=note: print w/ replies, xml ) Need Help??


in reply to Re: WWW::Mechanize::Firefox->new() tcp/ip port?
in thread [solved] WWW::Mechanize::Firefox->new() tcp/ip port?

I tried with repl => "localhost:port" and I get same mixup. Somehow when $html = $mech->content happen in each fork it get confused and mix up all the $html.

This make it so my temporary sanitized html files have wrong document element mixed in.

Since this happen *in* the fork I guess I misunderstand when you say do way before the fork! :)

PS) I forgot to mention this inside a *nested* fork, if that matter.


Comment on Re^2: WWW::Mechanize::Firefox->new() tcp/ip port?
Select or Download Code
Replies are listed 'Best First'.
Re^3: WWW::Mechanize::Firefox->new() tcp/ip port?
by Corion (Pope) on Mar 25, 2013 at 21:51 UTC

    Then maybe that mixup is not connected with how you construct your WWW::Mechanize::Firefox object?

        nt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2015-07-29 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls