- or download this
#!/usr/bin/perl -w
use HTML::Tree;
use LWP::Simple;
...
my $tree = HTML::TreeBuilder->new();
$tree = parse_file("guardian.htm);
- or download this
{
my $counter = 'x0000';
...
};
give_id($start_node);
}
- or download this
if $element->teg('h1' or 'h2')
{
my $content = $element->as_text();
print outfile "====$content====\n";
}