Subject: | Can't use 'defined(@array)' |
The test suite fails with recent perls (e.g. 5.21.5):
# Failed test 'use Sakai::Stats;'
# at t/Sakai-Stats.t line 9.
# Tried to use 'Sakai::Stats'.
# Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/Sakai-Stats-0.02-XN1LLi/blib/lib/Sakai/Stats.pm line 105, <DATA> line 751.
# Compilation failed in require at t/Sakai-Stats.t line 9, <DATA> line 751.
# BEGIN failed--compilation aborted at t/Sakai-Stats.t line 9, <DATA> line 751.
# Looks like you failed 1 test of 1.
t/Sakai-Stats.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests