Re: What to call a module that rewrites Perl code

2013-09-03 Thread James E Keenan
On 9/2/13 5:36 PM, Robert Rothenberg wrote: Thank you for your comments. To answer various questions/suggestions/comments: - It will be for rewriting Perl, exclusively, using PPI, with Perl-centric rules, so "Code" is not an appropriate namespace. (I don't think the PPI namespace is appropriate

Re: What to call a module that rewrites Perl code

2013-09-02 Thread Robert Rothenberg
Thank you for your comments. To answer various questions/suggestions/comments: - It will be for rewriting Perl, exclusively, using PPI, with Perl-centric rules, so "Code" is not an appropriate namespace. (I don't think the PPI namespace is appropriate, since in theory, it could use something else

Re: What to call a module that rewrites Perl code

2013-08-31 Thread David Mertens
Wait, what's wrong with Perl::Snorft? I mean, does Moose actually describe what it does? Given the lack of precision concerns, creating a new term seems *perfect* :-) David On Aug 31, 2013 1:11 AM, "Robert Rothenberg" wrote: > At $work, I've been writing scripts that use PPI to munge massive am

Re: What to call a module that rewrites Perl code

2013-08-31 Thread Pedro Melo
Hi, On Saturday, August 31, 2013, Bill Ward wrote: > Is it truly only ever going to work on Perl code? Mightn't it also be > pluginnable to rewrite other kinds of files? > > If it does, Code:: would be a better place. There is already Code::TidyAll. Bye, > On Friday, August 30, 2013, Shlomi Fi

Re: What to call a module that rewrites Perl code

2013-08-31 Thread Bill Ward
Is it truly only ever going to work on Perl code? Mightn't it also be pluginnable to rewrite other kinds of files? On Friday, August 30, 2013, Shlomi Fish wrote: > On Sat, 31 Aug 2013 06:11:03 +0100 > Robert Rothenberg > wrote: > > > At $work, I've been writing scripts that use PPI to munge massi

Re: What to call a module that rewrites Perl code

2013-08-31 Thread Smylers
Robert Rothenberg writes: > So what should it be called? I'm thinking Perl::Rewrite is the best > name. Hi Rob. Hope Yorkshire is treating you well. Perl::Rewrite sounds reasonable to me. > - Perl::Refactor - except "refactoring" has a technical meaning that I > don't think applies I think tha

Re: What to call a module that rewrites Perl code

2013-08-30 Thread Shlomi Fish
On Sat, 31 Aug 2013 06:11:03 +0100 Robert Rothenberg wrote: > At $work, I've been writing scripts that use PPI to munge massive amounts > of legacy code. So far simple things like changing die/warn to croak/carp, > ensuring all modules specify a minimum version number, or changing print > "foo\n"

What to call a module that rewrites Perl code

2013-08-30 Thread Robert Rothenberg
At $work, I've been writing scripts that use PPI to munge massive amounts of legacy code. So far simple things like changing die/warn to croak/carp, ensuring all modules specify a minimum version number, or changing print "foo\n" so say "foo", etc. It seems worthy enough to turn this code into a CP