Skip Menu |

This queue is for tickets about the warnings-unused CPAN distribution.

Report information
The Basics
Id: 64930
Status: new
Priority: 0/
Queue: warnings-unused

People
Owner: Nobody in particular
Requestors: ovid [...] cpan.org
Cc:
AdminCc:

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



Lovely module and I'm quite happy with it (I've hacked it into my editor now). Save the following to a file: use warnings; my $foo; And then check it: perl -Mwarnings::used -c $filename $filename syntax OK Putting the $foo into a block or running it as a one-line finds the unused variable though: $ perl -Mwarnings::unused -e 'use warnings; my $foo' Unused variable my $foo at -e line 1. Cheers, Ovid