cpan Perl-Critic 0.23

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

[Bug Fixes]

  • 23994: Test 56 in t/05_utils.t of Perl::Critic v0.22 fails
  • 24005: test 95 in t/13_bundled_policies fails in 0.22

[Groovy New Features]

  • Added '%F' to the Violation format specifications. This will
    give you just the name of file where the violation occurred
    (i.e. without the path).
  • Improved validation of .perlcriticrc file. An invalid
    default setting will now cause a fatal exception. A
    strange-looking policy name will cause a warning.

[Interface Changes]

  • The syntax for theme expressions has changed. Instead of using
    mathematical operators qw(+ * -) you must now use the logical
    operators qw(|| && !). See the Perl::Critic docs for more info.
  • The @GLOBALS and @BUILTINS variables are no longer exported by
    Perl::Critic::Utils. Use the is_perl_global() and is_perl_builtin()
    functions instead.
  • Perl::Critic::Policy::policy_parameters() has bee renamed to
    Perl::Critic::Policy::supported_paramters(). This was an
    undocumented feature anyway, so it shouldn't affect anyone.

[Other Internal Changes]

  • Perl::Critic now requires B::Keywords v1.05 or newer.
  • A few internal classes have been refactored. As a result,
    Set::Scalar is no longer a required dependency.

Don't miss a new Perl-Critic release

NewReleases is sending notifications on new releases.