/usr/share/perl5/URI/exasol.pm is in liburi-db-perl 0.18-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | package URI::exasol;
use base 'URI::_odbc';
our $VERSION = '0.18';
sub default_port { 8563 }
sub _dbi_param_map {
my $self = shift;
my $host = $self->host;
my $port = $self->_port;
# Just return the DSN if no host or port.
return [ DSN => scalar $self->dbname ] unless $host || $port;
return (
[ EXAHOST => $host ],
[ EXAPORT => $port || $self->default_port ],
);
}
1;
|