PerlTidy
{{Short description|Perl static code analysis tool}}
{{Infobox software
| name = PerlTidy
| title = PerlTidy
| author = Steve Hancock
| released = {{Start date and age|2003}}
| latest release version = 20160302
| latest release date = {{Start date and age|2016|03|02}}
| programming language = Perl
| operating system = Cross-platform
| language = English
| genre = Static code analysis
| license = GNU General Public License
| website = {{URL|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.[http://perldoc.perl.org/perlstyle.html Perl Style Guide]
Aside from the command line, there are a number of tools for alternate interfaces for PerlTidy, including one for the Padre IDE,{{Cite web |url=https://metacpan.org/module/Padre::Plugin::PerlTidy |title=Padre::Plugin::PerlTidy Plugin for Padre |access-date=2011-11-01 |archive-url=https://web.archive.org/web/20120424022230/https://metacpan.org/module/Padre::Plugin::PerlTidy |archive-date=2012-04-24 |url-status=dead }} perltidy.el for Emacs,{{Cite web |url=http://www.emacswiki.org/emacs/perltidy.el |title=PerlTidy for Emacs |access-date=2011-11-01 |archive-url=https://web.archive.org/web/20180304231859/https://www.emacswiki.org/emacs/perltidy.el |archive-date=2018-03-04 |url-status=dead }} and an online version.[https://perltidy.com Perltidy Online]
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{{Cite web |url=http://www.perlmonks.org/?node_id=485885 |title=PerlTidy configurations from Perl Best Practices |access-date=2011-11-01 |archive-url=https://web.archive.org/web/20180304173433/http://www.perlmonks.org/?node_id=485885 |archive-date=2018-03-04 |url-status=dead }} to match the syntax prescriptions in that book.
References
{{Reflist}}
External links
- [https://web.archive.org/web/20131021134504/https://metacpan.org/module/Perl::Tidy Perl::Tidy on MetaCPAN]
- Section "perltidy", Pages 112-114 of {{Cite book
| edition = 1
| publisher = O'Reilly Media
| isbn = 978-0-596-52724-2
| last = Foy
| first = Brian D
| title = Mastering Perl
| date = July 2007
}}
- Page 35 of {{Cite book
| edition = 1
| publisher = O'Reilly Media
| isbn = 978-0-596-00173-5
| last = Conway
| first = Damian
| title = Perl Best Practices
| date = July 2005
}}
{{Software engineering}}
{{Perl}}
Category:Static program analysis tools
Category:Software using the GNU General Public License
Category:Free software testing tools
{{software-eng-stub}}