URI-db

 view release on metacpan or  search on metacpan

lib/URI/mssql.pm  view on Meta::CPAN

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    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 )