Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Vars CPAN distribution.

Report information
The Basics
Id: 60018
Status: open
Priority: 0/
Queue: Test-Vars

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: doesn't work with implied variable usage
Download (untitled) / with headers
text/plain 369b
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.
Download (untitled) / with headers
text/plain 128b
oh some further discussion I had on StackOverflow http://stackoverflow.com/questions/3393038/does-my-do-anything-if-is- implied


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.