in reply to Re^4: problems with fork from thread
in thread problems with fork from thread

Also I have moved use HTML::TreeBuilder::XPath; to the thread (with require) and this help me...

Replies are listed 'Best First'.
Re^6: problems with fork from thread
by cristi1979 (Novice) on Mar 06, 2012 at 08:22 UTC
    I still see memory leaks. And I left only:
    my $tree = HTML::TreeBuilder->new(api_version => 3);
    $tree = $tree->parse_content(decode_utf8($html));
    $tree = $tree->delete();

    If I return before parse_content, everything is fine.