Package perl-critic-bangs-pm5100-1.06-2
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.7/x86_64 | |||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | |||
10.5/powerpc | 1.06-2 | ||
| Description: | Collection of handy Perl::Critic policies (1.06-2) | |
The rules included with the Perl::Critic::Bangs group include:
Perl::Critic::Policy::Bangs::ProhibitCommentedOutCode
Commented-out code is usually noise. It should be removed.
Perl::Critic::Policy::Bangs::ProhibitFlagComments
Watch for comments like "XXX", "TODO", etc.
Perl::Critic::Policy::Bangs::ProhibitNoPlan
Tests should have a plan.
Perl::Critic::Policy::Bangs::ProhibitNumberedNames
Variables like $user and $user2 are insufficiently distinguished.
Perl::Critic::Policy::Bangs::ProhibitRefProtoOrProto
Determining the class in a constructor by using ref($proto) || $proto
is usually a cut-n-paste that is incorrect.
Perl::Critic::Policy::Bangs::ProhibitUselessRegexModifiers
Adding modifiers to a regular expression made up entirely of a variable
created with qr() is usually not doing what you expect.
Perl::Critic::Policy::Bangs::ProhibitVagueNames
Vague variables like $data or $info are not descriptive enough. | ||
| Section: | libs/perlmods | |
| Maintainer: | Daniel Johnson <danielATdaniel-johnsonDOTorg> | |
| Website: | http://search.cpan.org/dist/Perl-Critic-Bangs/ | |
| License: | Artistic/GPL | |
| Info-File: | dists/10.4/stable/main/finkinfo/libs/perlmods/perl-critic-bangs-pm.info CVS log, Last Changed: Sun, 15 Jan 2012 22:50:57 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.