[Israel.pm] Perl Refactoring?

Yuval Yaari yuval at windax.com
Sun Nov 7 01:49:14 PST 2004


I am the not-so-proud owner of amazingly nasty pieces of code (not 
written by me, so I take no responsibility :)).
Trying to refactor some of them, I found out that I have many variables 
that are defined with some meaningless value and are never used.
Is there a simple way to find out all the variables that are never 
actually used?
I would like to remove them entirely from my code, as they make it look 
even worse for no reason at all.

Any other refactoring tools/techniques are welcome :)


More information about the Perl mailing list