Subject: | Can't use global $_ in "my" |
A test file fails to compile with newer perls (e.g. perl 5.25.5) because lexical $_ is not available anymore:
...
Can't use global $_ in "my" at t/01s_spelling.t line 6, near "my $_ "
BEGIN not safe after errors--compilation aborted at t/01s_spelling.t line 10.
t/01s_spelling.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...