Re: HTML::TokeParser, get HTML

2005-11-22 Thread Ing. Branislav Gerzo
Ing. Branislav Gerzo [IBG], on Tuesday, November 22, 2005 at 13:42 (+0100) thinks about: IBG> while(my $tag = $parser->get_tag('b')) { IBG> my $text = $parser->get_text(); IBG> last if $text =~ /^(this and that|or that and this)/i; IBG> } IBG> my $text = $parser->get_text('b', 'b

HTML::TokeParser, get HTML

2005-11-22 Thread Ing. Branislav Gerzo
Hello all, I'm using this great module for parsing HTML files. But I run into trouble - I need get clear unchanged HTML code. Common example of using this module is (snippet): while(my $tag = $parser->get_tag('b')) { my $text = $parser->get_text(); last if $text =~ /^(this and t