Subject: | Can't use 'defined(@array)' (5.39) |
Using defined(@array) or defined(%hash) is a hard error in newer perls (e.g. perl 5.22.0) and causes the test suite to fail:
# Failed test 'use Graphics::Framebuffer;'
# at t/00-load.t line 7.
# Tried to use 'Graphics::Framebuffer'.
# Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/cpansand/.cpan/build/2015090315/Graphics-Framebuffer-5.39-m0KbAE/blib/lib/Graphics/Framebuffer.pm line 4783.
# Compilation failed in require at t/00-load.t line 7.
# BEGIN failed--compilation aborted at t/00-load.t line 7.
Bailout called. Further testing stopped:
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1