Then I open the file and read the contents into an array... Is there a simpler way to do this? Something like dumping directly to an array?my $tree = HTML::TreeBuilder->new(); $tree->parse_file($daactualfile); $tree->objectify_text(); open OUT,"> $output_temp_file" or die "cannot open $output_temp_file $ +!\n"; $tree->dump(*OUT); close OUT;
In reply to HTML::TreeBuilder. Redirect tree->dump to an array by mm&mm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |