in reply to LDAP Searches
By using the sizelimit option of the search method maybe?
(I don't know. I don't use Net::LDAP. I just looked up the answer in the online documentation.)