I assume you would end up with something like:

use Win32::GUI::Constant qw (ES_WANTRETURN with a big list of other constants that you want);

With the Constant package creating the passed list of constants in the callers namespace? You could also have:

use Win32::GUI::Constant qw (all); #all the constants!
use Win32::GUI::Constant qw (common); #just the common ones
use Win32::GUI::Constant qw (toolbar); #constants associated with the toolbar control

If the Win32::GUI::Constant package is a XS/C code we'll be able to come up with various algorithms that compress the text strings meaning the resulting dll could be relatively small.

Cheers,

jez.



Reply via email to