Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jk2addict (4946)

  (email not shown publicly)
AOL IM: chrislaco (Add Buddy, Send Message)
Yahoo! ID: (Add User, Send Message)

Journal of jk2addict (4946)

Thursday January 10, 2008
11:43 PM

Perl Tidy: Huh?

[ #35357 ]
I confess, I like ending all ifs/elses/subs with a semicolon:

if (...) {


sub foo {
    if (...) {


I'm trying perltidy...again, and quickly I start banging my head. When I add -ndsm to my rc, I get this:

if (...) {


sub foo {
    if (...) {


My current rc is:


I'm sure there's no way to get what I want on this either:

        $self->this($that, $other)

When using object->method as method params, I like the indent, otherwise, just put the params on the same line in ().

    $foo->bar($this, $that);

How do I beat perltidy into submission?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.