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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
We have the same problem in our codebase (Score:1)
Someone at some point in history decided PerlTidy'ing the entire 250,000 line codebase would be a good idea, and that automatically appending end-of-block comments would probably be a good idea too.
I get it would be trivial to write a PPI search/replace for it... hrm...
Re:We have the same problem in our codebase (Score:2)
What perltidy giveth, perltidy can taketh away. Use the -dcsc option to delete "closing side comments".
At least if perltidy is writing your end-of-scope comments for you they'll stay up to date.
Reply to This
Parent