slightly modified by me. Perl-Tidy is a tool to indent and reformat Perl scripts. It can also write scripts in HTML format.