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:
$ perl5.00505 -e 'use 5.006'
syntax error at -e line 1, at EOF
Execution of -e aborted due to compilation errors.
But this is fine:
$ perl5.00505 -e 'use 5.006;'
Perl 5.006 required--this is only version 5.00505, stopped at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
tktimex - time recording tool
http://sourceforge.net/projects/ptktools/