in reply to Re^2: HTML::Tidy help
in thread HTML::Tidy help

$tidy->clean( $file); does not clean the file it returns a clean file. You need to do
open OUT,'>','output.html' or die "$!"; print OUT $tidy->clean( $file);
poj