You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Transferred from rt.cpan.org ...
Original Ticket Information
Original Text
I'm using this via Dist-Zilla-Plugin-UnusedVarsTests. Which complains
about an unused my
$_
; however$_
is not unused it's just that allinstances of it in the subroutine are implied.
UnusedVarsTests would fail in this case even though technically
$_
isbeing used on
say
.Follow-Up Report
oh some further discussion I had on StackOverflow
The text was updated successfully, but these errors were encountered: