PerlTidy
Original author(s) | Steve Hancock |
---|---|
Initial release | 2003 |
Stable release | 20160302
/ March 2, 2016 |
Written in | Perl |
Operating system | Cross-platform |
Available in | English |
Type | Static code analysis |
License | GNU General Public License |
Website | perltidy |
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
[edit]- ^ Perl Style Guide
- ^ "Padre::Plugin::PerlTidy Plugin for Padre". Archived from the original on 2012-04-24. Retrieved 2011-11-01.
- ^ "PerlTidy for Emacs". Archived from the original on 2018-03-04. Retrieved 2011-11-01.
- ^ Perltidy Online
- ^ "PerlTidy configurations from Perl Best Practices". Archived from the original on 2018-03-04. Retrieved 2011-11-01.
External links
[edit]- Perl::Tidy on MetaCPAN
- Section "perltidy", Pages 112-114 of Foy, Brian D (July 2007). Mastering Perl (1 ed.). O'Reilly Media. ISBN 978-0-596-52724-2.
- Page 35 of Conway, Damian (July 2005). Perl Best Practices (1 ed.). O'Reilly Media. ISBN 978-0-596-00173-5.