Display available DBI drivers

Filed under: Linux, Perl Scripts — June 2, 2008 @ 5:31 pm

This simple bit of perl can be used to display which DBI drivers you have available on your system:

#!/usr/bin/perl -w
require DBI;

my @dbi_drivers = DBI->available_drivers;
print join(”, “, @dbi_drivers), “\n”;

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)