Author: timbo
Date: Fri Apr 30 02:30:19 2010
New Revision: 13939
Added:
dbi/trunk/devel/.perltidyrc-timbunce
Modified:
dbi/trunk/devel/README
Log:
Added default perltidyrc
Added: dbi/trunk/devel/.perltidyrc-timbunce
==============================================================================
--- (empty file)
+++ dbi/trunk/devel/.perltidyrc-timbunce Fri Apr 30 02:30:19 2010
@@ -0,0 +1,24 @@
+# Perl Best Practices .perltidyrc file (plus official errata)
+
+-l=78 # Max line width is 78 cols
+-i=4 # Indent level is 4 cols
+-ci=4 # Continuation indent is 4 cols
+-vt=2 # Maximal 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 semicolons
+-nolq # Don't outdent long quoted strings
+-wbb="% + - * / x != == >= <= =~ < > | & **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
+ # Break before all operators
+
+# extras/overrides
+
+--maximum-line-length=100 # be slightly more generous
+--warning-output # Show warnings
+--maximum-consecutive-blank-lines=2 # default is 1
+--nohanging-side-comments # troublesome for commented out code
+
+# vim:ts=8:sw=4:et
Modified: dbi/trunk/devel/README
==============================================================================
--- dbi/trunk/devel/README (original)
+++ dbi/trunk/devel/README Fri Apr 30 02:30:19 2010
@@ -12,5 +12,8 @@
Perltidy might help.
+Default (essentially the same as in Perl Best Practices book):
+ devel/.perltidyrc-timbunce
+
DBD::File - H.Merijn Brand (Tux)
devel/.perltidyrc-tux
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.