Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: read a file and insert closing tags if not presentby GrandFather (Saint) |
on Mar 29, 2007 at 08:00 UTC ( [id://607180]=note: print w/replies, xml ) | Need Help?? |
HTML::TreeBuilder handles that simple case:
Prints:
although I'd not guarantee it will accept everything a real SGML document may contain. DWIM is Perl's answer to Gödel
In Section
Seekers of Perl Wisdom
|
|