Closed paultcochrane closed 7 years ago
Beyond this commit, most of the Perl::Critic issues start to become overly pedantic, and I don't think they bring much value for the code changes required (e.g. add missing return statements, unpack @_
in subs, etc). In fact, changing some of the code would make it less clearer by making Perl::Critic happy.
The code looks great! I hope my (somewhat picky) changes have been of use!
@@ master #28 diff @@
==========================================
Files 14 14
Lines 197 197
Methods 0 0
Messages 0 0
Branches 26 26
==========================================
Hits 184 184
Misses 1 1
Partials 12 12
Powered by Codecov. Last update 7d29212...2d61f87
... at least as far as Perl::Critic is concerned. In Perl::Critic at severity level 4, the
package
declaration isn't found. The solution was to move thestrict
andwarnings
pragmas below thepackage
declaration, hence silencing the Perl::Critic warning. The tests still pass, so the intended behaviour seems to be the same.