The Perltidy Home Page
Welcome to Perltidy
Perltidy is a Perl script which indents and reformats Perl scripts to make them
easier to read. If you write Perl scripts, or spend much time
reading them, you will probably find it useful.
Here are a few examples of reformatted code snippets:
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 output html of both pod and source code. For example, the
link below is an html version of the module Conf.pm
Besides reformatting scripts, Perltidy can be a great help in tracking
down errors with missing or extra braces, parentheses, and square brackets
because it is very good at localizing errors.
Please check the README File
Please check the Installation Notes
The latest release (.tgz, Unix-style line endings)
The latest release (.zip, Windows-style line endings)
The latest release as a .deb Debian Linux package
Debian users can also use: apt-get install perltidy
Download rpm's from Rpmfind.Net
If these links are broken,
to the download area at
the SourceForge Project Page
Perltidy should run on any system with perl 5.004 or later. It has been
tested on Unix, Windows, VMS and MacPerl.
- Author: Steve Hancock
- email: perltidy at users.sourceforge.net
- Thanks to SourceForge for hosting this project.