Collection of handy Perl::Critic policies
41.77 KB
built 2026-10-16 23:32:17 GMT
Description
The rules included with the Perl::Critic::Bangs group include:
- Commented-out code is usually noise. It should be removed.
- Watch for comments like "XXX", "TODO", etc.
- Tests should have a plan.
- Variables like $user and $user2 are insufficiently distinguished.
- Determining the class in a constructor by using "ref($proto) || $proto".
- Adding modifiers to a regular expression made up entirely of a variable
created with qr() is usually not doing what you expect.
- Vague variables like $data or $info are not descriptive enough.
Dependencies
28 totalRequires26
- coreutils
- make
- perl(:VERSION) >= 5.10.1
- perl(English)
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(File::Find)
- perl(List::MoreUtils)
- perl(PPI::Document)
- perl(Perl::Critic) >= 1.122
- perl(Perl::Critic::Config)
- perl(Perl::Critic::Policy)
- perl(Perl::Critic::PolicyFactory)
- perl(Perl::Critic::PolicyParameter)
- perl(Perl::Critic::TestUtils)
- perl(Perl::Critic::UserProfile)
- perl(Perl::Critic::Utils)
- perl(Readonly)
- perl(Test::More) >= 0.96
- perl(base)
- perl(lib)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- perl-Perl-Critic-Bangs = 1.14-5.fc45
- perl-Perl-Critic-Bangs-tests = 1.14-5.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Perl-Critic-Bangs-1.14.tar.gz | 20.77 KB |
| perl-Perl-Critic-Bangs.spec | 9.29 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
