houseabsolute / p5-Test-Vars

Detects unused variables in unit tests
https://metacpan.org/pod/Test::Vars
Other
6 stars 10 forks source link

Reading `${^UNICODE}` results in spurious test failures #19

Closed doherty closed 8 years ago

doherty commented 9 years ago

Built-in globals like ${^UNICODE} shouldn't count as a "used once" error when they're accessed.

doherty commented 9 years ago

The offending code was if (!(${^UNICODE} & 32)) {...}

autarch commented 8 years ago

Dupe of #18