For LDAP, I prefer using Net::LDAP (on CPAN, called perl-ldap) to using Mozilla::LDAP (called PerLDAP; from
http://www.mozilla.org/directory/faq/perldap-faq.html). But Mozilla::LDAP needs a Netscape SDK while Net::LDAP is pure perl (except some modules that are standard within each perl distribution), and in my eyes, Net::LDAP has got a better structure. The only advantage of Mozilla::LDAP I'm aware of is that you can do LDAPS as well.
Btw: if you do big searches in LDAP-Directories, try to specify a list of wanted attributes. It might speed up your search a lot.
Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"