Perltidy reads a Perl script and writes an indented, reformatted
script. The default formatting closely follows the recommendations
in perlstyle(1).  Perltidy can also display perl code in syntax-
colored HTML output.

WWW: http://perltidy.sourceforge.net/
