Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: A refactoring trap

by demerphq (Chancellor)
on Aug 17, 2005 at 09:06 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://484346]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found