On Sun, Aug 26, 2012 at 2:52 PM, Shmuel Fomberg <[email protected]>wrote:

> Hi all.
>
> I have an part of HTML that I need to edit.
> Currently, I'm wrapping it in
> '<html><head></head><body>'.$str.'</body></html>',
> 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?
>

Yes, there is!
HTML::Zoom!
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to