Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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...

    • 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.

  • I like to say this progression of coding style is going from forming letters, to writing words, to composing sentences, comprising sentences in paragraphs, and so on.

    Most people struggle to compose sentences, so paragraphs are right out.

    And, blank lines might have been a hassle back in the day when you were limited by the hardware to 24 rows, but how anyone still knows about that today is baffling. Throw some whitespace in your code and then see how much easier it is to read. (or take out the fomatting whit