PerlTidy is a tool written in the
Perl
Perl is a family of two High-level programming language, high-level, General-purpose programming language, general-purpose, Interpreter (computing), interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it ...
programming language
A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language.
The description of a programming l ...
to do
static code analysis
In computer science, static program analysis (or static analysis) is the analysis of computer programs performed without executing them, in contrast with dynamic program analysis, which is performed on programs during their execution.
The term ...
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.
Aside from the command line, there are a number of tools for alternate interfaces for PerlTidy, including one for the
Padre
__NOTOC__
Padre means father in many Romance languages, and it may also refer to:
Music
* "Padre" (song)
People
* A military chaplain
* A Latin Catholic priest
* A member of the San Diego Padres baseball team
Places
* Padre Island, a barrier i ...
IDE, perltidy.el for
Emacs
Emacs , originally named EMACS (an acronym for "Editor MACroS"), is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, ...
. and an online version
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
''Perl Best Practices'' is a programming book focusing on standard practices for Perl coding style, encouraging the development of maintainable source code. It was written by Damian Conway and published by O'Reilly.
References
External links
...
provides a set of PerlTidy configurations
to match the syntax prescriptions in that book.
References
External links
Perl::Tidy on MetaCPAN* Section "perltidy", Pages 112-114 of
* Page 35 of
Perl
Static program analysis tools
Software using the GPL license
Free software testing tools
{{software-eng-stub