The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::LDAPxs::Search - Object returned by Net::LDAPxs search method

SYNOPSIS

  use Net::LDAPxs;
  
  $msg = $ldap->search( @search_args );
  
  @entries = $msg->entries;

DESCRIPTION

A Net::LDAPxs::Search object is returned from the search method of a Net::LDAPxs object. It is a container object which holds the results of the search.

METHODS

count

Returns the number of entries returned by the server.

entries

Return an array of Net::LDAPxs::Entry objects that were returned from the server.

pop_entry

Pop an entry from the internal list of Net::LDAPxs::Entry objects for this search. If there are no more entries then undef is returned.

This call will block if the list is empty, until the server returns another entry.

shift_entry

Shift an entry from the internal list of Net::LDAPxs::Entry objects for this search.

This call will block if the list is empty, until the server returns another entry.

ACKNOWLEDGEMENTS

This document is based on the document of Net::LDAP::Search

AUTHOR

Pan Yu <xiaocong@vip.163.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008-2009 by Pan Yu. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.