Slaven Rezic wrote:
Elliot Shank <[EMAIL PROTECTED]> writes:

Jeff Pang wrote:
Ok I have added a statement of 'use 5.006' at the top of Makefile.PL
and hope this time it can get passed. Thanks guys.
I have found that 5.5 complains about the "use" statement.  I resorted to

BEGIN {
    require 5.006001;
}


The 'use 5.006' syntax works fine with 5.005 and even with older
perls. The only thing is that there's a parse error when using the
use-syntax in one-liners like this:

Yeah, I got confused by reports containing things like the following:

Output from '/usr/local/bin/perl5.00505 Makefile.PL':

Use of reserved word "our" is deprecated at inc/Perl/Critic/BuildUtilities.pm 
line 15.
Global symbol "$VERSION" requires explicit package name at 
inc/Perl/Critic/BuildUtilities.pm line 15.
BEGIN not safe after errors--compilation aborted at 
inc/Perl/Critic/BuildUtilities.pm line 17.
BEGIN failed--compilation aborted at Makefile.PL line 23.

Reply via email to