in reply to Namespace/advice for new CPAN modules for Thai & Lao

I am really not a specialist, but just my 2-cents. On the name exporting question, I think there would probably a number of cases where you would need only some of your regex categories (say, just numbers, InThaiDigit, or perhaps InThaiPunct) without any need for others.

You could have an 'all' group of names, to be used with something like this:

use Regexp::Thai ':all';
when you want to import the whole shebang.

I think it is a little bit cleaner to do it this way, and it might probably a bit easier to manage if you add new features in the future.

Having said that, this may not be so important. The user can always do something like this:

use Regexp::Thai (); use Regexp::Thai (the_specific_function_that_I_need);
to prevent unwanted imports.

In the modules that I wrote, I usually only exported automatically only the functions that are absolutely needed for the rest of the module to work properly (for example, the init function), which must be called for any other function of the module to work properly.

But again, these are just my 2-cents, I am really not an expert on this subject.

Je suis Charlie.