Skip Menu |

This queue is for tickets about the vars-i CPAN distribution.

Report information
The Basics
Id: 108844
Status: resolved
Priority: 0/
Queue: vars-i

People
Owner: CXW [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.01
Fixed in: 1.07



Subject: Can't use 'defined(@array)'
Compilation of test script t/010__vars-i.t fail in newer perls (5.22.0+): PERL_DL_NONLAZY=1 "/bbbike/perl-5.22.1-RC1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at t/010__vars-i.t line 21. # Looks like you planned 20 tests but ran 1. # Looks like your test exited with 255 just after 1. t/010__vars-i.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 19/20 subtests See also http://matrix.cpantesters.org/?dist=vars-i%201.01 for a test reports overview.
I have fixed this - see https://github.com/cxw42/Perl-vars-i/issues/1 . I copied it into Acme::CXW::vars::i for testing, so I wouldn't be stepping on anyone's toes. D.H., I'd be happy to send you the cleaned-up (back to vars::i) code. I would also be happy to release it myself if you would be willing to give me co-maint. Would you please let me know how you would like to proceed? Thank you! Chris On Thu Nov 12 16:03:27 2015, SREZIC wrote: Show quoted text
> Compilation of test script t/010__vars-i.t fail in newer perls > (5.22.0+): > > PERL_DL_NONLAZY=1 "/bbbike/perl-5.22.1-RC1/bin/perl" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > Can't use 'defined(@array)' (Maybe you should just omit the > defined()?) at t/010__vars-i.t line 21. > # Looks like you planned 20 tests but ran 1. > # Looks like your test exited with 255 just after 1. > t/010__vars-i.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 19/20 subtests > > See also http://matrix.cpantesters.org/?dist=vars-i%201.01 for a test > reports overview.
Fixed in 1.07! Thanks to NEILB for giving me co-maint.