cpan Perl-Critic 1.07

latest releases: 1.152, 1.150, 1.148...
16 years ago

[New Policies - funded by a Perl Foundation grant]

  • BuiltinFunctions::ProhibitBooleanGrep
  • BuiltinFunctions::ProhibitComplexMappings
  • Documentation::PodSpelling
  • InputOutput::ProhibitJoinedReadline
  • Subroutines::ProhibitManyArgs
  • Subroutines::RequireArgUnpacking
  • ValuesAndExpressions::ProhibitImplicitNewlines
  • Variables::RequireLocalizedPunctuationVars

[Other New Policies]

  • Subroutines::ProhibitNestedSubs

[New Features]

  • The "perlcritic --profile-proto" output now includes the "add_themes"
    parameter for each policy.
  • The perlcritic "--strict-profile" option has been replaced with a
    "--profile-strictness" option. This new option takes values of "warn"
    (the default), "fatal", and "quiet", which controls what happens with
    ignorable problems in a .perlcriticrc file.

[New Developer Features]

  • Perl::Critic::Policy now has an overridable initialize_if_enabled()
    method which allows a Policy to perform expensive initialization after
    it has been determined whether the user has it enabled or not. Also,
    this method allows a Policy to say that it should be disabled
    regardless of what the user says.

Actually, use of this method is now encouraged over using a
constructor.

[Other Stuff]

  • Now requires the Readonly module in order to be more self-compliant.

Don't miss a new Perl-Critic release

NewReleases is sending notifications on new releases.