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 that|or that and this)/i;
}
my $text = $parser->get_text('b', 'b');

in $text I have text, but it is according to docs:
...Any entities will be converted to their corresponding character....

And that's the problem. I need get unchanged HTML (no entities
convertion).

Anyone could please help on this?

Thanks a lot guys.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to