On Tue, Oct 09, 2001 at 10:50:27PM -0400, Thomas A.Lowery wrote: > What would be the best approach to importing the ADO constants in the > users name-space? > > Should I use something like > use DBD::ADO qw(:ado_constants);
That's what I'd prefer, maybe. But use the Export modules 'tag' mechanism so individual constants can be named. If the list of constants is very big then think about using the 'export fail' mechanism to delay building a list of constants till they're actually needed. And put the code to handle it into a separate module so people not using them don't have to pay for it in memory etc. Tim.
