| Server IP : 23.254.227.96 / Your IP : 216.73.216.183 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/perl5/vendor_perl/Net/LDAP/ |
Upload File : |
=head1 NAME
Net::LDAP::Reference - search reference
=head1 SYNOPSIS
use Net::LDAP;
$ldap->search( @search_args, callback => \&process);
sub process {
my $mesg = shift;
my $obj = shift;
if (!$obj) {
# Search complete
}
elsif ($obj->isa('Net::LDAP::Reference')) {
my $ref;
foreach $ref ($obj->references) {
# process ref
}
}
else {
# Process Net::LDAP::Entry
}
}
=head1 DESCRIPTION
The B<Net::LDAP::Reference> object represents a reference (sometimes
called a "referral") returned by the directory from a search.
=head1 METHODS
=over 4
=item references
Returns a list of references from the server.
=back
=head1 SEE ALSO
L<Net::LDAP>,
L<Net::LDAP::Search>
=head1 AUTHOR
Graham Barr E<lt>gbarr@pobox.comE<gt>.
Please report any bugs, or post any suggestions, to the perl-ldap mailing list
E<lt>perl-ldap@perl.orgE<gt>.
=head1 COPYRIGHT
Copyright (c) 1997-2004 Graham Barr. All rights reserved. This program is
free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
=cut