Subject: | defined(%hash) is deprecated |
Test suite fails with newer perls:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.18.4/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/Tie/Gzip.t
defined(%hash) is deprecated at sub File::Package::is_package_loaded line 12.
(Maybe you should just omit the defined()?)
# Test 2 got: "Cannot load Tie::Gzip\n\tdefined(%hash) is deprecated at /home/cpansand/.cpan/build/2019030521/Tie-Gzip-0.06-d8Fwrb/blib/lib/Tie/Gzip.pm line 56.\n\t\t(Maybe you should just omit the defined()?)\n\tdefined(%hash) is deprecated at /home/cpansand/.cpan/build/2019030521/Tie-Gzip-0.06-d8Fwrb/blib/lib/Tie/Gzip.pm line 57.\n\t\t(Maybe you should just omit the defined()?)\n\t" (t/Tie/Gzip.t at line 156)
# Expected: ""
Can't use string ("Compress::Zlib::") as a HASH ref while "strict refs" in use at /home/cpansand/.cpan/build/2019030521/Tie-Gzip-0.06-d8Fwrb/blib/lib/Tie/Gzip.pm line 56.
t/Tie/Gzip.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/13 subtests
(less 3 skipped subtests: 1 okay)
...