info > Net::LDAP::Reference

Net::LDAP::Reference(3User Contributed Perl DocumentaNet::LDAP::Reference(3pm)

NAME
       Net::LDAP::Reference - search reference

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
           }
         }

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

METHODS
       references
           Returns a list of references from the server.

SEE ALSO
       Net::LDAP, Net::LDAP::Search

AUTHOR
       Graham Barr <gbarr AT pobox.com>.

       Please report any bugs, or post any suggestions, to the perl-ldap
       mailing list <perl-ldap AT perl.org>.

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.

perl v5.32.0                      2021-01-03         Net::LDAP::Reference(3pm)

Generated by phpman v4.9.25-3-gdbaf087 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-06 22:57 @216.73.217.93
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!