Skip Menu |

This queue is for tickets about the Test-Unit CPAN distribution.

Report information
The Basics
Id: 102732
Status: open
Priority: 0/
Queue: Test-Unit

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: (no value)
Broken in:
  • 0.25
  • 0.25_1325
Fixed in: (no value)

Subject: Can't use 'defined(@array)'
Download (untitled) / with headers
text/plain 529b
With newest perls this is now a hard error, not a warning anymore: PERL_DL_NONLAZY=1 "/bbbike/perl-5.21.9/bin/perl5.21.9" "-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 /tmpfs/.cpan-build/Test-Unit-0.25-ABxy7S/blib/lib/Test/Unit/ line 106. Compilation failed in require at /tmpfs/.cpan-build/Test-Unit-0.25-ABxy7S/blib/lib/Test/Unit/ line 15. ...
Download (untitled) / with headers
text/plain 300b
Line 106 of needs to be changed to this: if (@{"$class\::TESTS"}) { This should be a very quick fix and will probably eliminate a large number of test failures. Currently this blocks the installation of another module I'd like to use. Matthew, do you have time to do a release of this?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to