On Dec 25, 2004, at 10:51 PM, Alberto Manuel Brandao Simoes wrote:

I'm designing a new module to include a little rewritting language on Perl. It will be based on Filter::Simple.

First, I imagined :

Text::Rewrite

Then

Inline::Rewrite

The language makes you able to define rules, and join that rules on a function you can call from Perl code. The rules map regular expressions on other regular expressions.

I don't see clearly the usage or purpose of the module from that description.


The module seems to be a source filter. One that allows the user to map regular expressions from a given definition using rules. Those rules can be joined into a Perl function that can be called..., I am lost.

To get the picture. Can you give some usage example? Can you describe a situation where the module can be useful? From that summary I would expect kind of a wrapper of FILTER_ONLY regex => ... but then which is the role of that function of joined rules? When would it be constructed? Which code would use it?

-- fxn



Reply via email to