Name
parse_dsn( )
Synopsis
DBI->parse_dsn($data_source_name
)
This returns the components of the
DBI Data Source Name (DSN) values: the scheme (i.e.,
dbi
); the driver (i.e,
$ENV{DBI_DRIVER}
); an optional attribute string; a
reference to a hash with the attribute names and values; and the DSN
DBI string.
... my ($scheme, $driver, $attributes_string, $attributes_hash, $driver_dsn) = DBI->parse_dsn($dsn);
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.