Subject: | Can't use 'defined(@array)' |
Compilation fails with newer perls (5.22 and later):
# Failed test 'use IOC::Service::ConstructorInjection;'
# at t/010_IOC_test.t line 21.
# Tried to use 'IOC::Service::ConstructorInjection'.
# Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/2015111121/IOC-0.29-vEjvII/blib/lib/IOC/Service/ConstructorInjection.pm line 49.
# Compilation failed in require at t/010_IOC_test.t line 21.
# BEGIN failed--compilation aborted at t/010_IOC_test.t line 21.