Subject: | Can't use 'defined(%hash)' |
Compilation fails with newer perls (5.22.0 and newer):
# Failed test 'use Text::Corpus::Inspec;'
# at t/001_test.t line 4.
# Tried to use 'Text::Corpus::Inspec'.
# Error: Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/2015111118/Text-Corpus-Inspec-1.00-0Iirle/blib/lib/Text/Corpus/Inspec.pm line 86.
# Compilation failed in require at t/001_test.t line 4.
# BEGIN failed--compilation aborted at t/001_test.t line 4.
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at t/001_test.t line 11.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 5.
t/001_test.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/5 subtests