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.

The simplest usage is perltidy -b yourfile.pm which will tidy the module inplace, using the default settings - this was done to the Foswiki Release branch when the repository was created.

If you want to use perltidy on a file, be sure to perform a distinct checkin containing only its reformatting changes.
Topic revision: r4 - 12 Feb 2009 - 16:09:13 - WillNorris
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads