Subject: | Assumes specific DSN format |
The DBI documentation clearly states "there is *no standard* for the
text following the driver name. Each driver is free to use whatever
syntax it wants." (http://search.cpan.org/~timb/DBI-1.52/DBI.pm#connect)
But this module assumes that non-ODBC DSNs use the format
"DBI:<driver>:database=<database name>;host=<host name>;port=<port>",
with host and port optional. This renders the module unusable with
drivers that do not follow this format, such as DBD::Oracle.
PasswordIniFile.pm and Makefile.PL should be changed to only require a
driver, DSN, user name, and password, and not assume anything else.
If I come up with a patch I'll post it to RT. In the meantime, I
thought it was important to document this issue.