Perl-Sensitive Sunglasses | |
PerlMonks |
Re: HTML tidy, using XML::LibXMLby Matts (Deacon) |
on Jan 04, 2003 at 17:10 UTC ( [id://224278]=note: print w/replies, xml ) | Need Help?? |
If you've got sloppy HTML that needs tidying up and XML::LibXML barfs on it, you can change that one-liner to the following three-liner:
XML::LibXML can also parse SGML. Most people don't know that (probably sucky docs ;-)
In Section
Cool Uses for Perl
|
|