Subject: | Can't use 'defined(@array)' |
The defined(@array) construct is illegal in newest perls (5.22.0 and later) and leads to build errors:
Output from './Build':
Building Genome-Model-Tools-Music
using output directory cmd-bindoc
Loaded Genome::Model::Tools::Music from Genome/Model/Tools/Music.pm at /tmpfs/.cpan-build/2015110800/Genome-Model-Tools-Music-0.04-W0Dbws/blib/lib/Genome/Model/Tools/Music.pm
failed to extract pod: : Error while autoloading with 'use Genome::Model::Tools::Music::Survival': Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/2015110800/Genome-Model-Tools-Music-0.04-W0Dbws/blib/lib/Genome/Model/Tools/Music/Survival.pm line 336.
Compilation failed in require at (eval 418) line 2.
BEGIN failed--compilation aborted at (eval 418) line 2.
at /bbbike/perl-5.22.1-RC1/lib/site_perl/5.22.1/UR/Namespace/Command/Update/Doc.pm line 329.