Subject: | Lexical $_ not available anymore |
The "my $_" construct was removed in perl 5.23.4. This leads to compilation errors in this module:
# Failed test 'use App::Diskd;'
# at t/App-Diskd.t line 14.
# Tried to use 'App::Diskd'.
# Error: Can't use global $_ in "my" at /tmpfs/.cpan-build/2015110418/App-Diskd-0.01-lgfZWu/blib/lib/App/Diskd.pm line 295, near ",$_"
# BEGIN not safe after errors--compilation aborted at /tmpfs/.cpan-build/2015110418/App-Diskd-0.01-lgfZWu/blib/lib/App/Diskd.pm line 335.
# Compilation failed in require at t/App-Diskd.t line 14.
# BEGIN failed--compilation aborted at t/App-Diskd.t line 14.
# Looks like you failed 1 test of 1.
t/App-Diskd.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests