Mathias Weidner <[EMAIL PROTECTED]> writes:
> Hello,
>
> > This is a computer-generated report for Algorithm-CheckDigits-0.45
> > on perl-5.00505, created automatically by CPAN-Reporter-0.99_14
> > and sent to the CPAN Testers mailing list.
> [...]
> > Output from '/usr/bin/make test':
> >
> > PERL_DL_NONLAZY=1 /usr/local/bin/perl5.00505 "-MExtUtils::Command::MM" "-e"
> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> > t/checkdigits.....Perl 5.006 required--this is only version 5.00505,
> > stopped at
> > /mnt/i386/usr/local/src/CPAN/build/Algorithm-CheckDigits-0.45-xmpsSc/blib/lib/Algorithm/CheckDigits.pm
> > line 4.
> > BEGIN failed--compilation aborted at
> > /mnt/i386/usr/local/src/CPAN/build/Algorithm-CheckDigits-0.45-xmpsSc/blib/lib/Algorithm/CheckDigits.pm
> > line 4.
> > BEGIN failed--compilation aborted at t/checkdigits.t line 10.
> > dubious
> > Test returned status 255 (wstat 65280, 0xff00)
> > DIED. FAILED test 1
>
> All libraries in the module 'use 5.006;', so the problem here is running
> the test with perl-5.00505.
>
> Could you please give me a hint how to preclude running a CPAN-Test with
> a version of perl older than 5.006.
>
Hallo Mathias,
putting
BEGIN { require 5.006 }
into the Makefile.PL should suffice. See also
http://cpantest.grango.org/cgi-bin/pages.cgi?act=wiki-page&pagename=CPANAuthorNotes
Gruß,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
tknotes - A knotes clone, written in Perl/Tk.
http://ptktools.sourceforge.net/#tknotes