Net::LDAP::Reference -- search reference
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) { # preocess ref } } else { # Process Net::LDAP::Entry } }
returns a list of references from the server
Net::LDAP, Net::LDAP::Search
Graham Barr <gbarr@pobox.com>
Copyright (c) 1997-8 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.
To install Net::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::LDAP
CPAN shell
perl -MCPAN -e shell install Net::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.