PerlTidy

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
PerlTidy
Original authorSteve Hancock
Initial release2003; 23 years ago (2003)
Stable release
20160302 / March 2, 2016; 10 years ago (2016-03-02)
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inPerl
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemCross-platform
    Available inEnglish
    TypeStatic code analysis
    LicenseGNU General Public License
    Websiteperltidy.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

    [edit | edit source]
    1. ^ Perl Style Guide
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Perltidy Online
    5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]
    • Perl::Tidy on MetaCPAN
    • Section "perltidy", Pages 112-114 of Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    • Page 35 of Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).