Albert Schweizer writes "Steve Hancock wrote a pretty cool tool called perltidy.
Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read (can even create syntax-colored html). If you write Perl scripts, or spend much time reading them, you will probably find it useful.
The Project's Homepage is at: http://perltidy.sourceforge.net."
According to the project homepage, perltidy
attempts to
adhere to perlstyle. An entry
from the 5th Annual Obfuscated Perl contest can be found here.
I've long wished to have an indent(1) for perl (the coloured html output is a nice bonus).
This tool should get quite a bit of use at the next obfuscated perl contest.
I liked the result most with the following parameters: