Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
html code ... <font class="copy">Name<br />Address<br />Country</font> ... html code
my $p2 = new HTML::TokeParser(\$res->{_content} ); while (my $token = $p2->get_tag("font")) { my $text = $p2->get_trimmed_text("/font"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using TokeParser with embedded tags
by Ovid (Cardinal) on Aug 22, 2004 at 15:54 UTC | |
by Baz (Friar) on Aug 22, 2004 at 17:18 UTC | |
|
Re: Using TokeParser with embedded tags
by bart (Canon) on Aug 23, 2004 at 01:52 UTC |