The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# This is borrowed from DBD::Oracle.

print "1..$tests\n";

require DBI;
print "ok 1\n";

import DBI;
print "ok 2\n";

$switch = DBI->internal;
(ref $switch eq 'DBI::dr') ? print "ok 3\n" : print "not ok 3\n";

# This is a special case. install_driver should not normally be used.
$drh = DBI->install_driver('JDBC');
(ref $drh eq 'DBI::dr') ? print "ok 4\n" : print "not ok 4\n";

print "ok 5\n" if $drh->{Version};


BEGIN { $tests = 5 }

exit 0;