Subject: | Can't use 'defined(@array)' |
Module compilation fails with newer perls (perl 5.22.0+):
PERL_DL_NONLAZY=1 "/bbbike/perl-5.22.1-RC1/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..15
# Running under perl version 5.022001 for linux
# Current time local: Thu Nov 12 23:18:00 2015
# Current time GMT: Thu Nov 12 23:18:00 2015
# Using Test.pm version 1.26
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at blib/lib/Net/Shared/Local.pm line 34.
Compilation failed in require at blib/lib/Net/Shared.pm line 3.
BEGIN failed--compilation aborted at blib/lib/Net/Shared.pm line 3.
Compilation failed in require at test.pl line 10.
BEGIN failed--compilation aborted at test.pl line 10.
make: *** [test_dynamic] Error 2
Overview of test reports: http://matrix.cpantesters.org/?dist=Net-Shared%200.30