PaulHowarth/Blog/2022-12-06

Tuesday 6th December 2022

Fedora Project

  • Updated perl-Perl-Critic to 1.144 in Rawhide:

    • Perl::Critic now requires Perl 5.10.1

  • New features
    • The ProhibitAugmentedAssignmentInDeclaration policy now allows augmented assignments to "our" variables, if the allow_our option is enabled (GH#993)

    • ProhibitExplicitISA now recommends "use parent" instead of "use base" (GH#987)

    • RequireUseWarnings now recognizes that "use v5.36" implies warnings (GH#984)

    • Subroutines::ProhibitNestedSubs now allows that lexical subroutines can be inside other subroutines (GH#946, GH#971, GH#972)

    • RequireUseStrict now knows that Test::Spec enables it (GH#906)

    • ProhibitUnusedCapture now understands @{^CAPTURE} and %{^CAPTURE_ALL} that were added in Perl 5.26.0 (GH#778)

    • Allow numeric operators on special number strings 'NaN' and 'inf' (GH#803)

  • Fixes
    • Miscellanea::ProhibitUselessNoCritic no longer filters out errors about itself, just as Miscellanea::ProhibitUnrestrictedNoCritic cannot (GH#939)

    • Fixed GH#878: bareword filehandle dies on "open(CHECK, '/foo');"

  • Internals
    • Updated to using Perl 5.10.1; starting migrating to Perl 5.10-isms like defined-or
  • Documentation
    • Updated some outdated docs in Perl::Critic::Utils (GH#951)

Local Packages

  • Updated perl-Perl-Critic to 1.144 as per the Fedora version


Recent