|Date:||Thu, 27 Jul 2006 12:20:29 +0100|
|To:||bug-Perl-Critic [...] rt.cpan.org|
|From:||Martin Friebe <martin [...] hybyte.com>|
Below a couple of maybe useful policies: Trailing spaces on the end of a line (or lines containing nothing but spaces) are usually not needed. In some editors they get highlighted (and look ugly). In others they are an annoyance when trying to jump to the end of line. Forbid inlining: HTML, SQL or other non perl constructs should be collected on top/bottom of the file (or in an external file). Inlining them with your perl code, decreases readability. Inlining as simple quoted string, (instead of in-here-doc) is the worst case.