| 1 | package URI::ldapdb; | ||
| 2 | 2 | ▶ | use base 'URI::_db'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | our $VERSION = '0.21'; | |
| 4 | |||
| 5 | 3 | ▶ | sub dbi_driver { 'LDAP' } |
|
Subroutine
dbi_driver: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 6 | |||
| 7 | sub _dbi_param_map { | ||
| 8 | 6 | ▶ | my $self = shift; |
|
Subroutine
_dbi_param_map: called CC=1 SCAR=0.0
| |||
| 9 | return ( | ||
| 10 | 6 | [ dbname => scalar $self->dbname ], | |
| 11 | ); | ||
| 12 | } | ||
| 13 | |||
| 14 | sub dbi_dsn { | ||
| 15 | 3 | ▶ | my $self = shift; |
|
Subroutine
dbi_dsn: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 16 | 3 | return join ':' => 'dbi', $self->dbi_driver, $self->dbname | |
| 17 | } | ||
| 18 | |||
| 19 | 2 | 1; | |
| 20 | |||
| 21 | =head1 Name | ||
| 22 | |||
| 23 | URI::ldapdb - LDAP database URI | ||
| 24 | |||
| 25 | =head1 Description | ||
| 26 | |||
| 27 | Linkage between URI::db and DBD::LDAP. I would have used L<URI::ldap>, but | ||
| 28 | that was already taken for a module with slightly different intentions. | ||
| 29 | |||
| 30 | =head1 Contributed By | ||
| 31 | |||
| 32 | Brian T. Wightman <mlx@cpan.org> | ||
| 33 | |||
| 34 | =cut | ||