URI-db
view release on metacpan or search on metacpan
lib/URI/mssql.pm view on Meta::CPAN
111213141516171819202122232425262728293031
my
$lcd
=
lc
$driver
;
return
$self
->SUPER::dbi_dsn
if
$lcd
eq
'odbc'
;
my
$class
=
$lcd
eq
'ado'
?
'URI::_ado'
:
$lcd
eq
'sybase'
?
'URI::sybase'
:
die
"Unknown driver: $driver\n"
;
eval
"require $class"
or
die
;
# Make a copy blessed into the alternate class to get its DSN.
my
$alt
=
bless
\
"$self"
=>
$class
;
return
$alt
->dbi_dsn;
}
1;
=head1 Name
URI::mssql - Microsoft SQL Server database URI
=head1 Description
( run in 0.341 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )