in reply to HTM::TreeBuilder, HTML::Element's look_down() method
Pretty simple, $html is not a file, so $tree->parse_file won't work. Use $tree->parse instead.
With some additional error checking it would have even give you a clue: $tree->parse_file($html) or die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTM::TreeBuilder, HTML::Element's look_down() method
by 7stud (Deacon) on Oct 06, 2010 at 21:24 UTC | |
by afresh1 (Hermit) on Oct 06, 2010 at 21:45 UTC |