[Mastering-perl] New Chapters for Mastering Perl
brian d foy
brian.d.foy at gmail.com
Mon Apr 17 16:51:41 EDT 2006
On 4/17/06, Vonnahme, Nathan <nathan.vonnahme at bannerhealth.com> wrote:
> Hmm, maybe "Refactoring WITH Perl" would be more interesting; siccing
> Perl's regexp and text munging support on code written in any
> language... dunno though, for me in practice my editor's search/replace
> is usually sufficient for the mechanics, it's learning when to recognize
> the need for refactoring, and balancing "good enough for this iteration"
> with "it really should be this way" that is the hard part.
A simple textual analysis isn't going to work, though. It's going to
have a tough time dealing with macros, for instance. PPI can just
barely do it with Perl, for instance.
That might be a nice topic for another book. :)
--
brian d foy <brian.d.foy at gmail.com>
http://www.pair.com/~comdog/
More information about the Mastering-perl
mailing list