Brainbench perl test?

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


>>>>> "David" == David Cantrell <david at cantrell.org.uk> 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
http://www.stonehenge.com/merlyn/LinuxMag/col49.html would have been a
good starting point for that.

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


More information about the london.pm mailing list