metamod:perl_code_style

This is an old revision of the document!


Perltidy configuration

The following Perltidy configuration can be used as a guideline for formatting the code in Metamod.

# make some defaults explicit to document the decision
--indent-columns=4
--cuddled-else
--indent-block-comments
--paren-tightness=1
--square-bracket-tightness=1
--brace-tightness=1
--block-brace-tightness=0
-nbl
-nsbl
--static-block-comments

# deviations from the default
--maximum-line-length=120
--continuation-indentation=4
--opening-brace-always-on-right
--closing-token-indentation=0
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • metamod/perl_code_style.1278919188.txt.gz
  • Last modified: 2022-05-31 09:23:19
  • (external edit)