File: maxdb.pm

package info (click to toggle)
liburi-db-perl 0.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: perl: 1,599; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package URI::maxdb;
use base 'URI::_db';
our $VERSION = '0.23';

sub default_port { 7673 }
sub dbi_driver   { 'MaxDB' }
sub canonical_engine { 'maxdb' }

sub _dbi_param_map { }

sub dbi_dsn {
    my $self = shift;
    return join (
        ':' => 'dbi', $self->dbi_driver,
        grep { defined } $self->host, $self->_port,
    ) . $self->path_query;
}

1;