Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: Perl Tidy Question

by dorko (Parson)
on Jan 11, 2008 at 20:10 UTC ( #661972=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Tidy Question
in thread Perl Tidy Question

There was a time when I thought I was the only person who used Whitesmiths. Then I found out I wasn't alone. In fact, I was in good company. But most disappointingly, I hadn't invented it.

By the way, anybody have Perl Tidy configs that will output Whitesmiths?



-- Yeah, I'm a Delt.

Replies are listed 'Best First'.
Re^3: Perl Tidy Question
by Fletch (Chancellor) on Jan 11, 2008 at 20:22 UTC

    This is what we use to get things to our local whitesmiths-y variant (I've of course got another version that puts things back to a proper form so I can read them . . . :)

    --nocheck-syntax --warning-output --maximum-line-length=78 --indent-columns=3 --continuation-indentation=3 --indent-closing-paren --nooutdent-long-lines --nooutdent-labels --space-for-semicolon --brace-left-and-indent --brace-left-and-indent-list="if elsif else unless for foreach sub whi +le until do continue : BEGIN END CHECK INIT AUTOLOAD DESTROY" --paren-vertical-tightness=1 --paren-vertical-tightness-closing=1 --square-bracket-vertical-tightness=1 --square-bracket-vertical-tightness-closing=1 --brace-vertical-tightness=1 --brace-vertical-tightness-closing=1 --line-up-parentheses --break-at-old-comma-breakpoints --long-block-line-count=2 --maximum-consecutive-blank-lines=2 -wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= && += -= /= |= >>= ||= .= %= ^= x="

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      Without a doubt, this is better than anything I could have come up with. Thank you for sharing.



      -- Yeah, I'm a Delt.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://661972]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2018-06-22 18:16 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.