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, since in theory, it could use something else.
Note also Perl::Tidy and Perl::Critic.)
- It will be for modifying actual script/module files, as opposed to
modifying code on the fly, so "Filter" is not an appropriate namespace.
- "Perl::Transform" is good name, but I think means the same thing as
"Rewrite". Since the latter is shorter, it wins. (I don't like the way
"Perl::XForm" looks, and that makes it look like it has something to do
with forms in X-Windows.)
- I'm thinking Perl::Rewrite is the best name, for now, since it rewrites
code using PPI. Bit by bit I will develop it on GitHub
https://github.com/robrwo/Perl-Rewrite - for now it just has some stub
rules, until I flesh out the interface etc.
This sounds like a worthy project -- and one that would be valuable for
organizations with a lot of legacy Perl code. Good luck on your efforts!
Jim Keenan