Gabor Szabo wrote:
On Wed, 2 Feb 2005, Johan Vromans wrote:
Gabor Szabo [EMAIL PROTECTED] writes:
http://www.cpanforum.com/dist/CPAN-Forum
May I suggest to reserve/use/allow CPAN ids for nicknames?
I don't think I can do that.
For one thing I can't make sure that a future PAUSE id will
not be
A. Pagaltzis wrote:
* Jenda Krynicky [EMAIL PROTECTED] [2005-01-05 01:28]:
Has anyone ever seen a module with a space in the name? If not
we might just as well use
use aka 'Really::Long::Module::Name as MName' qw(foo bar baz);
How about this?
use aka [ 'Really::Long::Module::Name' = 'Name'
Khemir, check the module and its generated code. I don't think it is
syntactic sugar. If it is, every module on cpan is.
Of course I can write is as a function that receives the rules and
returns the function reference. That is what the module does in its
internals, but the code readability
system based on such rules. Now, we want to make it a
module to put the text cleaner.
Cheers,
Alb
Xavier Noria wrote:
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
your original post said something about regular expressions.
True. It support them
RULES foo
a(b+)c==c$1a!!length($1)5
ENDRULES
so, abbbc gets cbbba if the number of b greater than 5.
Regexp::Rules is the name I'm pointing to, at the moment.
THanks for helping me with the brainstorming.
I have the module ready at the moment, named Text::Rewrite (the original
name I though about)
I'll ask co-author tomorrow for a name. Maybe something like
Text::RegExp::Rules
Text::Rewrite::Rules (like this one)
Albie
Xavier Noria wrote:
On Dec 26, 2004, at 10:03 PM, Alberto Manuel Brandao
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