PerlTidy

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
PerlTidy
Original author(s) Steve Hancock
Initial release 2003 (2003)
Stable release 20150815 / August 15, 2015; 9 years ago (2015-08-15)
Development status Active
Written in Perl
Operating system Cross-platform
Available in English
Type Static code analysis
License GNU General Public License
Website http://perltidy.sourceforge.net/

PerlTidy is a tool written in the Perl programming language to do static code analysis against code written in that same language. It uses either command-line switches or configuration files to reformat Perl scripts so they comply with specified coding rules. The default configuration is an approximation of the Perl Style Guide.[1]

Aside from the command line, there are a number of tools for alternate interfaces for PerlTidy, including one for the Padre IDE,[2] perltidy.el for Emacs.[3] and an online version[4]

Since its introduction, PerlTidy has become an oft-recommend tool for Perl programmers, noted in a number of key books. Notably, the work Perl Best Practices provides a set of PerlTidy configurations[5] to match the syntax prescriptions in that book.

References

<templatestyles src="Reflist/styles.css" />

Cite error: Invalid <references> tag; parameter "group" is allowed only.

Use <references />, or <references group="..." />

External links

  • Perl::Tidy on MetaCPAN
  • Section "perltidy", Pages 112-114 of Lua error in package.lua at line 80: module 'strict' not found.
  • Page 35 of Lua error in package.lua at line 80: module 'strict' not found.


<templatestyles src="Asbox/styles.css"></templatestyles>

  1. Perl Style Guide
  2. Padre::Plugin::PerlTidy Plugin for Padre
  3. PerlTidy for Emacs
  4. perltidy.com
  5. PerlTidy configurations from Perl Best Practices