Welcome to Perltidy!

Perltidy is a tool to indent and reformat perl scripts. It can also write scripts in html format.

Perltidy is free software released under the GNU General Public License -- please see the included file "COPYING" for details.


perltidy should work with most standard Perl installations. The following modules are not required, but perltidy may use them if detected:

  HTML::Entities  will be used to encode HTML entities if detected
  Pod::Html will be used to format pod text

The total disk space needed after removing the installation directory will about 2 Mb.


There are two source distribution files:

In addition, the web site has links to debian and RPM packages.


For most standard installations, the standard Makefile.PL method should work:

 perl Makefile.PL
 make test
 make install

The INSTALL file has additional installation notes, and tells how to use perltidy without doing an installation.


Please see the CHANGES file for notices of any recent updates.

Please see the BUGS file for a list of all known open bugs.

Documentation can be found in the docs directory, and it can also be found at http://perltidy.sourceforge.net

Reading the brief tutorial should help you use perltidy effectively.


Bug reports, comments and suggestions are welcome. Attach the smallest piece of code which demonstrates the bug or issue.

 Steve Hancock
 perltidy at users.sourceforge.net