Perltidy is a Perl script which indents and reformats Perl scripts. The formatting is controlled by command line parameters; the default formatting follows the suggestions in perlstyle(1).