| 1 | package Catalyst::Model::LDAP::Search; | ||
| 2 | # ABSTRACT: Convenience methods for Net::LDAP::Search | ||
| 3 | |||
| 4 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 5 | ▶ | use base qw/Net::LDAP::Search/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use Module::Runtime qw/ require_module /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | |||
| 10 | 0 | ▶ | sub init { |
|
Subroutine
init: not called CC=2 SCAR=17.9
Pod
documented
| |||
| 11 | 0 | my ( $self, $class ) = @_; | |
| 12 | |||
| 13 | 0 | require_module($class); | |
| 14 | |||
| 15 | 0 | foreach my $entry ( @{ $self->{entries} } ) { | |
| 16 | 0 | bless $entry, $class; | |
| 17 | 0 | $entry->_ldap_client( $self->parent ); | |
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | 5 | 1; | |
| 23 | |||
| 24 | __END__ | ||