Hi Howard, On Tuesday, 21. February 2006 18:55, Howard Moftich wrote: > It would appear as though something in Mac OSX update 10.4.5 breaks > perl-ldap (latest version > including Convert::ASN1). > > I even rebuilt both modules hoping that a recompile/relink might fix > things. > > this is on a corporate phone script that has been working fine for > years on OSX, Linux & Solaris. > > I now get this on my Mac.......... > > IO::Socket::INET: connect: Invalid argument at ./phone line 90, > <DATA> line 225. > > and line 90 is............ > > $ldap = Net::LDAP->new('xxxxx') or die "$@";
The error message says that IO::Socket::INET's connect method is passed an invalid argument. You might want to check the type and the value of the parameter passed to Net::LDAP->new(). (Iguess 'xxxxx' is not the value you use in the script) To me this looks rather like some network (name resultion, ....) problem than something related to perl-ldap. (But of course this is just a guess) Peter -- Peter Marschall eMail: [EMAIL PROTECTED]