:Puse HTML::Parser; use LWP::Simple qw(get); my $html = get("http://anime.com"); my @accum = (); my $parser = HTML::Parser->new( text_h => [\@accum, "text"] ); $parser->parse( $html ); for (@accum) { print $_->[0]; }
In reply to Re^6: How to get HTML::Parser to return a line of parsed text
by Anonymous Monk
in thread How to get HTML::Parser to return a line of parsed text
by donfreenut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |