<div dir="ltr"><div class="gmail_quote">On Sun, Aug 26, 2012 at 2:52 PM, Shmuel Fomberg <span dir="ltr"><<a href="mailto:shmuelfomberg@gmail.com" target="_blank">shmuelfomberg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all.<br><br>I have an part of HTML that I need to edit. <br>Currently, I'm wrapping it in '<html><head></head><body>'.$str.'</body></html>',<br>and the use HTML::TreeBuilder to parse, modify, and dump it back to text.<br>
and then I remove the enclosing tags.<br><br>It works pretty well so far, but is there a better way?<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>Yes, there is!<br>HTML::Zoom!<br></div>
</div></div>