[Israel.pm] Editing an HTML fragment

Shmuel Fomberg shmuelfomberg at gmail.com
Sun Aug 26 04:52:42 PDT 2012

Hi all.

I have an part of HTML that I need to edit.
Currently, I'm wrapping it in
and the use HTML::TreeBuilder to parse, modify, and dump it back to text.
and then I remove the enclosing tags.

It works pretty well so far, but is there a better way?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20120826/1b5c69e1/attachment.htm 

More information about the Perl mailing list