Is there a way to get Net::LDAP to use the system configuration file to get the hostnames to connect to? Passing "", undef, or nothing to Net::LDAP->new doesn't seem to do anything other than fail. I could always open the configuration files, but that is slightly painful, given that the first of the vagaries is that it could be /etc/ldap.conf (fedora), /usr/local/etc/ldap.conf (fBSD), or /etc/ldap/ldap.conf (debian).
Thanks in advance, Pi -- I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. -- Bjarne Stroustrup