Skip Menu |

This queue is for tickets about the DBIx-PasswordIniFile CPAN distribution.

Report information
The Basics
Id: 21885
Status: resolved
Priority: 0/
Queue: DBIx-PasswordIniFile

People
Owner: ECASTILLA [...] cpan.org
Requestors: mark.gardner [...] bms.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.1
Fixed in: (no value)



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.
Changed on 2.00
Fixed on 2.00