/usr/share/perl5/URI/teradata.pm is in liburi-db-perl 0.17-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 22 23 | package URI::teradata;
use base 'URI::_db';
our $VERSION = '0.17';
sub default_port { 1025 }
sub dbi_driver { 'Teradata' }
sub _dbi_param_map {
return [ DATABASE => scalar shift->dbname ];
}
sub dbi_dsn {
my $self = shift;
return join ';' => (
join (
':' => 'dbi', $self->dbi_driver,
grep { defined } $self->host, $self->_port
),
$self->_dsn_params || ()
);
}
1;
|