cpan Perl-Critic 0.18_01

latest releases: 1.152, 1.150, 1.148...
pre-release17 years ago

[New Policies]

  • Variables::RequireNegativeIndices
  • InputOutput::ProhibitInteractiveTest
  • ErrorHandling::RequireCarping

[Bug Fixes]

  • RequireTidyCode tests fail if user has custom .perltidyrc file
  • 20612: RequirePerlTidy was ignoring HEREDOCs
  • 20659: END statement considered "unreachable"
  • Fix for PPI::XS (no C support)
  • Support for 'goto' in ProhibitAmpersandSigils and
    Subroutines::RequireFinalReturn

[Performance Enhancements]

  • Introduced Perl::Critic::Document class. This is a facade for
    PPI::Document which internally caches search results. This
    reduces the running time by about 35%. The facade should be
    invisible, unless you are doing something really sneaky.
  • Extraction of the 'diagnostics' information is postponed
    until it is really needed. Speedup has not been measured.
  • Calls to helper-subs have been reordered for maximum efficiency.

[Other Cool Stuff]

  • Includes updated version of perlcritic mode for emacs. See
    "extras/perlcritic.el" for details.

Don't miss a new Perl-Critic release

NewReleases is sending notifications on new releases.