Subject: | 1.094: 'require 5.005_62;' sets off warning in P/C/Document.pm line 193 |
Date: | Thu, 1 Jan 2009 18:38:37 -0800 |
To: | bug-Perl-Critic [...] rt.cpan.org |
From: | "Richard Soderberg" <rsoderberg [...] gmail.com> |
Something about the minversion require in one of my modules is causing
heartburn for Perl::Critic::Document. What's curious to me is that
"5.005_62" was converted to "5.005_620" at some point. Perl 5.8.8 doesn't
seem terribly upset by that code, producing no warnings or errors.
Original code found in Class::Methods 0.062.
- R.
sh-3.2# echo 'require 5.005_62;' >c bug.pl
sh-3.2# perlcritic --top bug.pl
Argument "5.005_620" isn't numeric in subroutine entry at
/Library/Perl/5.8.8/Perl/Critic/Document.pm line 193.
sh-3.2# perlcritic bug.pl
bug.pl source OK