Reference: data_sources (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: connectChapter 12
Databases and Perl
Next: Reference: disconnect
 

data_sources

 @drivers = DBI->data_sources(driver)

Returns a list of all databases available to the named driver. (The database server must be running for data_sources to return any results.)

driver

The driver to list. If unspecified, the value of DBI_DRIVER is used.


Previous: Reference: connectPerl in a NutshellNext: Reference: disconnect
Reference: connectBook IndexReference: disconnect

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.