cpan Perl-Critic 1.087

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

[Policy Changes]

  • CodeLayout::ProhibitParensWithBuiltins no longer complains about
    sort(foo(@x)).
  • TestingAndDebugging::RequireUseWarnings will not complain about files
    that contain a "use 5.005" statement or similar for perls prior to 5.6.
    Lesson of the day: computer conferences where you can meet in the real
    world can clarify conversations greatly. Good to finally meet you Adam.
  • InputOutput::ProhibitTwoArgOpen similarly will not complain if there's
    a "use/require 5.005" statement in the file. RT #34385.

[Bug Fixes]

  • Perl::Critic can now critique a file named "0". However, PPI will give
    a parse error until the next version comes out. Fixes RT #36127.
  • Moved detection of the lack of any enabled Policies from P::C::Config
    to Perl::Critic. This was causing the perlcritic.t in Parrot to fail.
    Note, however, there are plans afoot to change how Perl::Critic is
    configured and things that depend upon that may break. Please contact
    users@perlcritic.tigris.org and tell us how you're using P::C::Config
    directly so that we can take your needs into account.

Don't miss a new Perl-Critic release

NewReleases is sending notifications on new releases.