Subject: | Lexical $_ not available anymore |
perl 5.23.4 removed the "my $_" construct. This is used for example in Pg::Loader::Columns (and other modules of the distributions), and consequently causes a compilation failure with perl 5.23.4:
# Failed test 'use Pg::Loader::Columns;'
# at t/00_load.t line 3.
# Tried to use 'Pg::Loader::Columns'.
# Error: Can't use global $_ in "my" at /tmpfs/.cpan-build/2015110421/Pg-Loader-0.21-zsdmkN/blib/lib/Pg/Loader/Columns.pm line 23, near "my $_ "
# BEGIN not safe after errors--compilation aborted at /tmpfs/.cpan-build/2015110421/Pg-Loader-0.21-zsdmkN/blib/lib/Pg/Loader/Columns.pm line 37.
# Compilation failed in require at t/00_load.t line 3.
# BEGIN failed--compilation aborted at t/00_load.t line 3.