<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p class="">I’ve just released a <a href="https://metacpan.org/release/PETDANCE/Perl-Critic-1.127_02" class="">new developer release of Perl::Critic</a>,
the static code analysis tool for Perl, as we work toward its first new
release in 21 months. This version of Perl::Critic fixes a few bugs
and relies on a new release of the underlying Perl parsing library PPI,
which also has had its first new release in a while.</p><p class="">This version of Perl::Critic is also ready for the impending release of Perl 5.26, which will no longer include <tt class="">.</tt> in <tt class="">@INC</tt> by default.</p><p class="">I’ve been spending some time working through the <a href="https://github.com/Perl-Critic/Perl-Critic/issues" class="">issues in the GitHub project</a>, cleaning up what I can and clarifying others.</p><p class="">If you’ve never used Perl::Critic to analyze your code base for
potential bugs and stylistic improvements, mostly based on Damian
Conway’s <i class="">Perl Best Practices</i>, try it out.</p><div class=""><br class=""></div><div class=""><div class="pull-right"></div><pre class=""> [Bug Fixes]
* PPI misparsing a module caused an incorrect "Must end with a
recognizable true value." This is fixed by upgrading to PPI
1.224. (GH #696, GH #607)
* A test would fail under the upcoming Perl 5.26 that omits the current
directory from @INC. Thanks, Kent Fredric.
* Fixed an invalid test in the RequireBarewordsIncludes test. Thanks,
Christian Walde. (GH #751)
* If an element contained blank lines then the source "%r" displayed
for a violation was wrong. Thanks, Sawyer X. (GH #702, #734)
[Dependencies]
Perl::Critic now requires PPI 1.224. PPI is the underlying Perl parser
on which Perl::Critic is built, and 1.224 introduces many parsing fixes
such as:
* Fixes for dot-in-@INC.
* Parse left side of => as bareword even if it looks like a keyword or op.
* $::x now works.
* Higher accuracy when deciding whether certain characters are operators or
variable type casts (*&% etc.).
* Subroutine attributes parsed correctly.
[Performance Enhancements]
* Sped up BuiltinFunctions::ProhibitUselessTopic ~7%. Thanks, James
Raspass. (GH #656)
[Documentation]
* Fixed incorrect explanation of capture variables in
ProhibitCaptureWithoutTest. Thanks, Felipe Gasper.
* Fixed incorrect links. Thanks, Glenn Fowler.
* Fixed incorrect example for returning a sorted list. Thanks, @daviding58.
* Fixed invalid POD. Thanks, Jakub Wilk. (GH #735)
* Updated docs on ProhibitYadaOperator. Thanks, Stuart A Johnston. (GH #662)
* Removed all the references to the old mailing list and code repository
at <a href="http://tigris.org" class="">tigris.org</a>. (GH #757)</pre><div class=""><br class=""></div></div></body></html>