note ground0 <p>I tried with <code>repl => "localhost:port"</code> and I get same mixup. Somehow when <code>$html = $mech->content</code> happen in each fork it get confused and mix up all the $html.</p> <p>This make it so my temporary sanitized html files have wrong document element mixed in.</p> <p>Since this happen *in* the fork I guess I misunderstand when you say do way before the fork! :)</p> PS) I forgot to mention this inside a *nested* fork, if that matter. 1025386 1025388