http://www.perlmonks.org?node_id=932767


in reply to Re^2: Perl Modules with 2 or more classes
in thread Perl Modules with 2 or more classes

Why do I have to 'use DBD::blah'? I don't call anything in there... DBI does. Why doesn't DBI 'use' it for me instead?

Huh? You don't need to use DBD::blah, just do DBI->connect('dbi:blah:FooBarDB') and it will do what you're asking for. You basically only need to use DBD modules to import extra things they might provide, like use DBD::Oracle qw/:ora_types/; for Oracle-specific data types.

Maybe you were asking rhetorically to make a point?