http://qs1969.pair.com?node_id=596685


in reply to Re: Comparing ldap data using net ldap
in thread Comparing ldap data using net ldap

I suggest using 'callbacks' if you have many entries. This should be faster because you don't have to wait until the search is finished etc.

See ldap.perl.org/FAQG.htm
and there using the callback subroutine approach
There's also an example.

Edit: thanks to bart for the direct link to the callback! :)