User Tools

Site Tools


code_formatting_standards

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
code_formatting_standards [2010/03/16 15:07] – noet for C, SQL - combine line dbw2code_formatting_standards [2010/03/16 15:08] dbw2
Line 54: Line 54:
  
 ==== perltidy ==== ==== perltidy ====
-The following options are recommended for using perltidy to format your Perl code:+The following options are recommended when using perltidy to format your Perl code:
   * -b : Backup and modify in place   * -b : Backup and modify in place
   * -ce : Enable the "cuddled else" style   * -ce : Enable the "cuddled else" style
 Example: <code>perltidy -ce -b Object.pm</code> This will tidy Object.pm and move your original to Object.pm.bak.  Note that this **will** clobber an existing Object.pm.bak file! Example: <code>perltidy -ce -b Object.pm</code> This will tidy Object.pm and move your original to Object.pm.bak.  Note that this **will** clobber an existing Object.pm.bak file!
code_formatting_standards.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.