Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: A refactoring trap

by demerphq (Chancellor)
on Aug 17, 2005 at 09:06 UTC ( #484346=note: print w/ replies, xml ) Need Help??


in reply to Re^2: A refactoring trap
in thread A refactoring trap

In fact, I've committed my .perltidy.rc file to the code base to ensure that programmers who follow me will find it easy to at least maintain consistent formatting.

Thats a very interesting idea. Id almost like to see your perltidy.rc posted here, along with any others that folks might like to contribute. I think it would be an interesting addition to the site.

---
$world=~s/war/peace/g


Comment on Re^3: A refactoring trap
Re^4: A refactoring trap
by Ovid (Cardinal) on Aug 18, 2005 at 23:29 UTC

    Taken straight from Damian's book:

    -l=78 # max line width is 78 columns -i=4 # indent level is 4 columns -ci=4 # continuation indent is 4 columns -st # output to STDOUT -se # errors to STDERR -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

    Cheers,
    Ovid

    New address of my CGI Course.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484346]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-12-26 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls