|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
perltidy - no space before comment if first item in blockby larryk (Friar) |
| on Feb 23, 2005 at 16:36 UTC ( #433751=perlquestion: print w/ replies, xml ) | Need Help?? |
|
larryk has asked for the
wisdom of the Perl Monks concerning the following question:
perltidy -bl -bbc is doing everything right but I want to negate its effect in one situation, namely the conversion of:
to:
If the comment is the first item in a block, I don't want it to have a blank line inserted above (there's already enough new space generated above by -bl: braces left - not my personal choice btw!). I have checked all the docs and SuperSearched and googled and am none the wiser - anyone done this before? Cheers, larryk perl -le "s,,reverse killer,e,y,rifle,lycra,,print"
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||