Skip Menu |

This queue is for tickets about the Class-Mixer CPAN distribution.

Report information
The Basics
Id: 103177
Status: resolved
Priority: 0/
Queue: Class-Mixer

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.52
Fixed in: 0.54



Subject: Can't use 'defined(@array)'
With perl 5.21.x the test suite fails because using efined(@array) is an error now: Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/bbbike/perl-5.21.10t/bin/perl5.21.10" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Class::Mixer;' # at t/classmixer.t line 9. # Tried to use 'Class::Mixer'. # Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/Class-Mixer-0.52-68FCpW/blib/lib/Class/Mixer.pm line 69. # Compilation failed in require at t/classmixer.t line 9. # BEGIN failed--compilation aborted at t/classmixer.t line 9. Attempt to reload Class/Mixer.pm aborted. Compilation failed in require at t/classmixer.t line 20. BEGIN failed--compilation aborted at t/classmixer.t line 20. # Looks like you planned 59 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/classmixer.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 59/59 subtests