Subject: | doesn't work with implied variable usage |
I'm using this via Dist-Zilla-Plugin-UnusedVarsTests. Which complains
about an unused my $_; however $_ is not unused it's just that all
instances of it in the subroutine are implied.
sub something {
my $_;
my @array = ...;
while ( @array ) {
say;
}
}
UnusedVarsTests would fail in this case even though technically $_ is
being used on say.