Subject: | Would be nice to have LABELs in closing side comments |
I love perltidy. I especially like the automatic close side comments.
They are cool.
However, I would prefer that they work slightly differently for
statements with labels.
For example:
LABEL:
for ( 0 .. 9 ) {
next LABEL unless is_odd($_);
say;
} ## <perltidy> end for ( 0 .. 9 )
I think it would be much clearer if the end comment had the label in it.
} ## end LABEL
or maybe
} ## end LABEL: for ( 0 .. 9 )
Something like that.
Not terribly important, but it would be nice.