in reply to Re: improving the aesthetics of perl code
in thread improving the aesthetics of perl code

For instance, I think perlstyle says you should omit the last ; in a block.

No, that's not what it says at all. It says:

Semicolon omitted in "short" one-line BLOCK.
where "one-line" should be taken to include the curlies, and "short" should be taken to mean something that can be seen as a kind of visual "pill". So it's saying it's okay to omit the semicolon in
sort { $a <=> $b } @foo;
but not in
sort { $a <=> $b; } @foo;
So for the most part you're basically in violent agreement with perlstyle.

Replies are listed 'Best First'.
Re^3: improving the aesthetics of perl code
by g0n (Priest) on Jan 21, 2005 at 17:07 UTC
    Apologies, that'll teach me to do my research properly! :-)