You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <ph...@gmail.com> on 2007/03/05 20:39:57 UTC

Re: Detecting Unused Variables

On 2/28/07, Tyler Bird <bi...@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