Hi, On Monday, 18. June 2007 18:12, [EMAIL PROTECTED] wrote: > I'm trying to add a method to Net::LDAP (through Net::LDAP::Extra) so I > can ask for the host IP at a later time. I'm using Perl 5.8.4 and > Net::LDAP 0.32 (from Net/LDAP.pm) on a GNU/Linux 3.1 Debian box.
If you upgrade to perl-ldap 0.34 you may use Net::LDAP's host() method that even works if you pass an array reference as first parameter to Net::LDAP's constructor. In perl-ldap 0.32 you may use the "net_ldap_host" key in the Net::LDAP object: $ldap->{net_ldap_host} . Hope this helps Peter -- Peter Marschall [EMAIL PROTECTED]