note
Anonymous Monk
<blockquote>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?</blockquote>
<p>Huh? You don't need to <code>use DBD::blah</code>, just do <code>DBI->connect('dbi:blah:FooBarDB')</code> 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 <code>use DBD::Oracle qw/:ora_types/;</code> for Oracle-specific data types.</p>
<p>Maybe you were asking rhetorically to make a point?</p>
932351
932557
3