Brainbench perl test?

Randal L. Schwartz merlyn at
Tue Aug 28 22:43:24 BST 2012

>>>>> "David" == David Cantrell <david at> writes:

David> * write a HTML pretty printer that will take an HTML document and
David>   format it all nicely indented.  It should gracefully handle malformed
David>   input documents, eg missing end tags, badly nested tags etc.
David> * for bonus points, have it apply [list of transformations] if requested
David>   via command line arguments

"Parsing HTML with XML::LibXML" in would have been a
good starting point for that.

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at> <URL:>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See for Smalltalk discussion

More information about the mailing list