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.