develooper Front page | perl.perl5.porters | Postings from July 2010

Re: [perl #76402] [PATCH] Locale::Maketext One Sided Lexicons

Thread Previous | Thread Next
Jesse Vincent
July 22, 2010 17:35
Re: [perl #76402] [PATCH] Locale::Maketext One Sided Lexicons
Message ID:

> The only way to subclass it is a monolithic copy/paste. I don't see that it being added hurts anything existing. 

That sounds like something it would be great to fix.

> The goal was to avoid polluting the lexicon namespace with another special variable. Since each lexicon is it's own package, it made more sense to put it outside the lexicon. If that's really what's causing you to hesitate, I have no issues providing an amended patch which uses the lexicon instead to look for the _ONE_SIDED flag.

It's certainly _one_ thing that's causing me to hesitate. I'd rather a
special key in the lexicon that works just like the other special key in
the lexicon than something similar that's different. But see above.

> Todd


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About