#1 Problem with cuddled elses

closed-fixed
nobody
None
5
2001-03-23
2001-03-04
Frank Madro
No

With "cuddled else" enabled the curly brace closing the
previous block is indented with 2 additional blanks.
I always get

if ($task) {
yyy();
} else {
zzz();
}

instead of

if ($task) {
yyy();
} else {
zzz();
}

The same with elseif.

I use perl 5.005_03 and perltidy-20010304.

Discussion

  • Steve Hancock
    Steve Hancock
    2001-03-23

    • status: open --> closed-fixed