HTML::Packer is another HTML code cleaner. WWW: http://search.cpan.org/dist/HTML-Packer/ http://github.com/nevesenin/html-packer-perl