# http://perltidy.sourceforge.net/tutorial.html
# http://perltidy.sourceforge.net/perltidy.html
--indent-columns=4 # indent at the beginning (one "tab" is 4 spaces)
--maximum-line-length=79 # max line length
--continuation-indentation=4 # indent after wrap
-b # backup original files as .bak ???
###--line-up-parantheses # for lists
--closing-token-indentation=1
-paren-tightness=1 # Container tightness, use some spaces
-bar # opening braces right with multiline-if-expr. ???
-nsbl # opening braces with one-line on same line
#--space-function-paren # space after function call: NO
#--space-keyword-paren # space between keyword and parens: NO
#--space-terminal-semicolon # space before; NO
--nospace-for-semicolon # no space before; in c-style-for-loop
--nooutdent-long-lines # don't outdent long lines
--check-syntax # perl -c -T
###--output-line-endings=unix # set output line endings to unix
--add-semicolons # add missing optional semicolons at EOL
--indent-block-comments # line up comments with code
--indent-spaced-block-comments # but only if there's a space before
--closing-side-comments # write comment end sub xyz: ???
#for vi:
#:%!perltidy -q
# or
#:%!perltidy
#for emacs: (perhaps build makro)
#C-x h # mark all text
#M-1 M-| # pipe replace
#perltidy # execute perltidy