cpan Perl-Critic 0.09

latest releases: 1.152, 1.150, 1.148...
18 years ago
  • Changed the syntax for the magic comments. Adam had the
    idea of using a pragma-like notation. I liked it.

[Bug Fixes]

  • 14810: Now you are allowed to create your own 'import' function,
    since this is frequently done with fancy modules.
  • 14817: Parens, brackets, and braces are now excluded from
    'ProhibitNoisyQuotes' since they look better in quotes anyway.
  • 14787: $1..$9 and '_' are exempt from ProhibitPunctuationVars
  • 14899: Object methods with the same name as a built-in can
    be called with parens (ProhibitParensWithBuiltins).
  • 14901: Normalized the exit status of perlcritic to 0, 1, or 2.
    See documentation for explanation.
  • 14855: Partially fixed home directory discovery. Still not
    completely portable, but at least doesn't create warnings.

[New features]

  • 14734: Limit for number separators is now configurable

[New Policy modules]

  • CodeLayout::ProhibitHardTabs
  • ControlStructures::ProhibitUnlessBlocks
  • ControlStructures::ProhibitUntilBlocks
  • ControlStructures::ProhibitCStyleForLoops

Don't miss a new Perl-Critic release

NewReleases is sending notifications on new releases.