welcome, anonymous.

[ login ]

browse

3 items tagged: perl

filter: files | links | rc


.perltidyrc

-i=4  # 4 spaces for indent
-bar  # opening brace always on right, even for long clauses
-ce   # cuddled } else {
-b    # write in-place, plus .bak
-l=140    # maximum line length;  default n=80

-ci=4   # continuation indent is 4 cols
-vt=1   # medium vertical tightness
-cti=0  # no extra indentation for closing brackets
-pt=1   # medium parenthesis tightness
-bt=1   # medium brace tightness
-sbt=1  # medium square bracket tightness
-bbt=1  # medium block brace tightness
-nsfs   # no space before semicolon
-nolq   # don't outdent long quoted strings

# break before all ops
-wbb="% + - * / x != == >= <= =~ !~ < > | & 
>= < = **= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="

--blanks-before-subs   # Introduce blank line before 'sub'
tags: rc files perl
posted by sick 2 years ago (May 15, 06); edited 11 months ago (Jan 26, 08).
link  

perl bookmarks

tags: links perl
posted by sick 2 years ago (May 18, 06); edited 1 year ago (May 28, 07).
link  

.perltidyrc (newer)

--blanks-before-subs
--noblanks-before-comments
--block-brace-tightness=0
--brace-tightness=1
--brace-vertical-tightness=2
--continuation-indentation=4
--cuddled-else
--maximum-consecutive-blank-lines=2
--maximum-line-length=127
--nooutdent-long-quotes
--output-line-ending="unix"
--paren-tightness=2
--paren-vertical-tightness=1
--profile="mreece.perltidyrc"
--square-bracket-vertical-tightness=1
--static-block-comment-prefix="^#"
--want-break-before=". % + - * / x != == >= <= =~ !~ < > |\
 & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
tags: rc perl files
posted by sick 1 year ago (Feb 10, 07); edited 1 year ago (Feb 10, 07).
link