in reply to Re^8: Namespace/advice for new CPAN modules for Thai & Lao ( Regexp::CharClasses::Thai / Lingua::Thai::RegexpCharClasses )
in thread Namespace/advice for new CPAN modules for Thai & Lao
Looking at that module now, perhaps it could all just go into Regexp::CharClasses, but I'm not the developer for that, and when I looked at its code, it's done in a somewhat different style which is confusing to me. I don't see any logical difference between Regexp::CharClasses::Thai and Regexp::Thai::CharClasses, except that, to my understanding, the former would be inhibited by the fact another developer has already used the Regexp::CharClasses namespace. Am I missing something here?
There is no real inhibition, only cooperation ... only flow :) go with it
When I was doing my research I ignored Regexp::CharClasses because its kind of a one-off ... unlike (from same author) Regexp::Common which is designed to be an extensible module and expandable namespace ... and has been extended
So that Regexp::CharClasses already exists, and its kind of experimental, I recommended Regexp::CharProps::Thai
If you're going with three names, two out of three shouldn't be ends, and if using Regexp::Thai::CharClasses both Thai:: and CharClasses seem like ends
I can imagine many many Regexp::CharClasses:: modules existing, I cannot imagine many Regexp::Thai:: modules existing
Hey, you could even call it Regexp::ThaiCharClasses if you don't plan any kind of growth for the namespace :) sure it could be extended like Regexp::ThaiCharClasses::TheBestOnes but its not exactly likely/obvious/good :)
You can find more discussions on naming modules in Re: RFC: Automatic logger module
I have no idea how to do this.
No idea how to do what? Since I posted the code, you have no idea how to release it? What filename to put it in? Something else?
Here are some useful/related links
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^10: Namespace/advice for new CPAN modules for Thai & Lao ( Regexp::CharClasses::Thai / Lingua::Thai::RegexpCharClasses )
by Polyglot (Chaplain) on Mar 24, 2015 at 13:22 UTC | |
by Anonymous Monk on Mar 25, 2015 at 00:25 UTC |