will_ has asked for the wisdom of the Perl Monks concerning the following question:
But they seem to result in unexpected changes like this:-i=4 # 4 character indents in blocks -pt=2 # "horizontal tightness" -wls='=>' # ensure there's always space to the left of => -wrs='=>' # and always to the right of => -vtc=0 # always break before a closing token -l=79 # 79 characters wide please -nolc # no "outdenting" for long comments - indent them properly -nolq # no "outdenting" for long quotes/strings -sot # stack opening tokens - same as -sop -sohb -sosb -sct # stack closing tokens
and this:- error(300) if $@; # 300 = GSI_BAD_ID + error(300) if $@; # 300 = GSI_BAD_ID
my $d; $d->{status} = 'queued'; $d->{description} = 'The action was successfully queued'; - $d->{id} = '12345'; # Identifies action request + $d->{id} = '12345'; # Identifies action request
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why does perltidy mess up whitespace before inline comments and equals?
by Eily (Monsignor) on Oct 20, 2014 at 12:00 UTC | |
by LanX (Saint) on Oct 20, 2014 at 12:20 UTC | |
by will_ (Scribe) on Oct 20, 2014 at 13:37 UTC | |
|
Re: Why does perltidy mess up whitespace before inline comments and equals?
by LanX (Saint) on Oct 20, 2014 at 11:25 UTC | |
by will_ (Scribe) on Oct 20, 2014 at 13:30 UTC |