perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <phark...@gmail.com>
Subject Re: Detecting Unused Variables
Date Mon, 05 Mar 2007 19:39:57 GMT
On 2/28/07, Tyler Bird <birdty@epromo.com> wrote:
> I was wondering if there was some way I could run a script and have it
> detect all unused variables for me?

No.   You might be able to write a tool to do static analysis on your
code using PPI (from CPAN).  It's what Perl::Critic uses.

- Perrin

Mime
View raw message