My current piece of work is scraping various bits of information off a web page. I found that the HTML is far from XHTML and XML::LibXML chokes. I have probably gone too far down the regular expression route now, but was there a better way of handling this?