[Israel.pm] Perl Refactoring?

Yuval Yaari yuval at windax.com
Sun Nov 7 02:38:12 PST 2004

Roee Friedman wrote:

> One on a book: *Perl Medic: Transforming Legacy Code (Addison 
> wesley)*, which is a good reading and full of advices, regarding your 
> and many oither problems in legacy code.

I will look for that one, sounds promising.

> The other is of course, use perl. I did it on a very large code base 
> of C/C++, which contained a lot of obsolete h files, pre-processor 
> #defines, unused variables and such.

The code is written in Perl.

> Since "only Perl can parse perl", I do not think that a lint -tool for 
> Perl was ever written, but perl itself can  be used.
> If there is a specific module was written, I'd love to hear.

Look for B and B::*, especially B::Deparse which seems to understand 
Perl very well :)


More information about the Perl mailing list