Subject: | DBI->data_sources() doesn't seem to work |
The documentation mentions:
DBI->data_sources()
The `data_sources' method returns a list of "databases" (.ldb
files)
However, all I get is a a usage message:
$ perl -MDBD::LDAP -e 'print DBI->data_sources();'
usage: DBI->install_driver($driver [, %attr]) at -e line 1
Trying to add the suggested install_driver doesn't help:
$ perl -MDBD::LDAP -e 'DBI->install_driver("LDAP"); print
DBI->data_sources();'
usage: DBI->install_driver($driver [, %attr]) at -e line 1
I don't know if it's a bug or if it's just the documentation that is
incomplete.