Subject: | Can't use 'defined(@array)' |
Compilation fails with newer perls (5.22 and later):
# Failed test 'use MetaTrans;'
# at t/00.load.t line 4.
# Tried to use 'MetaTrans'.
# Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/2015111121/MetaTrans-1.05-BgPp0M/blib/lib/MetaTrans/Base.pm line 398.
# Compilation failed in require at /tmpfs/.cpan-build/2015111121/MetaTrans-1.05-BgPp0M/blib/lib/MetaTrans.pm line 76.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/2015111121/MetaTrans-1.05-BgPp0M/blib/lib/MetaTrans.pm line 76.
# Compilation failed in require at t/00.load.t line 4.
# BEGIN failed--compilation aborted at t/00.load.t line 4.
Additionally, there are new warnings with newer perls (also 5.22.0 and later):
Redundant argument in sprintf at /tmpfs/.cpan-build/2015111121/MetaTrans-1.05-BgPp0M/blib/lib/MetaTrans/Languages.pm line 23.