perltidy | Perl script indenter and reformatter | Mehr ...
Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. . The formatting can be controlled with command line parameters. The default parameter settings approximately follow the suggestions in the Perl Style Guide. . Perltidy can also generate formatted HTML output from POD, and can even generate colored output in HTML for scripts. See examples at http://perltidy.sourceforge.net/ .