in reply to Problems splitting HTML in to hash table
Right up there with use CGI; is use HTML::Parser;. Hand-rolled parsing of HTML or XML gets you a long term of reflection on your sins.
After Compline,Zaxo