1Net::LDAP::Reference(3)User Contributed Perl DocumentatioNnet::LDAP::Reference(3)
2
3
4

NAME

6       Net::LDAP::Reference - search reference
7

SYNOPSIS

9         use Net::LDAP;
10
11         $ldap->search( @search_args, callback => \&process);
12
13         sub process {
14           my $mesg = shift;
15           my $obj = shift;
16           if (!$obj) {
17             # Search complete
18           }
19           elsif ($obj->isa('Net::LDAP::Reference')) {
20             my $ref;
21
22             foreach $ref ($obj->references) {
23               # process ref
24             }
25           }
26           else {
27             # Process Net::LDAP::Entry
28           }
29         }
30

DESCRIPTION

32       The Net::LDAP::Reference object represents a reference (sometimes
33       called a "referral") returned by the directory from a search.
34

METHODS

36       references
37           Returns a list of references from the server.
38

SEE ALSO

40       Net::LDAP, Net::LDAP::Search
41

AUTHOR

43       Graham Barr <gbarr@pobox.com>.
44
45       Please report any bugs, or post any suggestions, to the perl-ldap
46       mailing list <perl-ldap@perl.org>.
47
49       Copyright (c) 1997-2004 Graham Barr. All rights reserved. This program
50       is free software; you can redistribute it and/or modify it under the
51       same terms as Perl itself.
52
53
54
55perl v5.28.1                      2014-06-19           Net::LDAP::Reference(3)
Impressum