Subject: | Can't use 'defined(%hash)' |
With newer perls (e.g. 5.25.4) I see the following when running the test suite:
...
# Failed test 'use Class::DBI::DataMigration::Migrator;'
# at /Users/dan/work/dan/Class-DBI-DataMigration/lib/Class/DBI/DataMigration/Migrator.pm line 271.
# Tried to use 'Class::DBI::DataMigration::Migrator'.
# Error: Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build-cpansand/2016090815/Class-DBI-DataMigration-0.02-0/blib/lib/Class/DBI/DataMigration/Migrator.pm line 250.
# Compilation failed in require at /Users/dan/work/dan/Class-DBI-DataMigration/lib/Class/DBI/DataMigration/Migrator.pm line 271.
# BEGIN failed--compilation aborted at /Users/dan/work/dan/Class-DBI-DataMigration/lib/Class/DBI/DataMigration/Migrator.pm line 271.
...