"Randy J. Ray" <[EMAIL PROTECTED]> writes:
> > This is a computer-generated report for Image-Size-3.1
> > on perl-5.00505, created automatically by CPAN-Reporter-0.99_14 and
> > sent to the CPAN Testers mailing list.
>
> This should not have happened. The module itself (Size.pm) has a
> "require 5.6.0" line at the top. It should not have tried to compile
> or run under 5.005 at all.
>
Hello Randy,
yes, "require 5.6.0" is there, but this is only a run-time check. "use
bytes" is executed in compile time, and thus before the version check.
Nevertheless, it should be spelled "require 5.006", because "require
5.6.0" is invalid syntax in perls before 5.6.0:
$ perl5.00505 -e 'require 5.6.0'
Can't locate 5.60 in @INC (@INC contains:
/usr/perl5.005_05/lib/5.00505/amd64-freebsd /usr/perl5.005_05/lib/5.00505
/usr/perl5.005_05/lib/site_perl/5.005/amd64-freebsd
/usr/perl5.005_05/lib/site_perl/5.005 .) at -e line 1.
Also, to make your module CPAN testers friendly, you should put the
version check into Makefile.PL. Please read
http://cpantest.grango.org/cgi-bin/pages.cgi?act=wiki-page&pagename=CPANAuthorNotes
for more information.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
Berlin Perl Mongers - http://berlin.pm.org