Open Source Integrated Library System
About Us FAQs Documentation Blog Chat Mailing Lists Evergreen Blogs Download
 

Differences

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

code_formatting_standards [2010/03/16 15:07]
dbw2 noet for C, SQL - combine line
code_formatting_standards [2010/03/16 15:08] (current)
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.1268766444.txt.gz · Last modified: 2010/03/16 15:07 by dbw2
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki