This is a reference to the most common DBI methods. Again, we’ll cover them in enough detail to get you familiar with the basic concepts of each command. To get the latest documentation for the DBI module, please go to: http://dbi.perl.org.
This method, more of a convenience, would not necessarily be used in a program. A call to available_drivers returns an array of the DBD drivers installed on the system.
The following code:
@drivers = DBI->available_drivers; print join("\n", @drivers), "\n";
yields something like this.
ExampleP CVS Proxy Mysql
This shows that we have four drivers installed. Using this method is a quick way to see what drivers are installed on a system.