Re: Multiple hosts in an array reference

2008-11-26 Thread Quanah Gibson-Mount
--On Wednesday, November 26, 2008 12:43 PM -0800 Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: $ldap=Net::LDAP->new("$ldap_url"); Should be checking that $ldap is defined here to avoid the error ;) Blah, I see what you mean, it's because I quote ldap_url. ;) --Quanah -- Quanah Gibson-M

Re: Multiple hosts in an array reference

2008-11-26 Thread Quanah Gibson-Mount
--On Wednesday, November 26, 2008 2:30 PM -0600 Christopher A Bongaarts <[EMAIL PROTECTED]> wrote: In the immortal words of Quanah Gibson-Mount: According to the Net::LDAP documentation: new ( HOST, OPTIONS ) HOST may also be a reference to an array of hosts, host-port pairs or URIs to try.

Re: Multiple hosts in an array reference

2008-11-26 Thread Christopher A Bongaarts
In the immortal words of Quanah Gibson-Mount: > According to the Net::LDAP documentation: > > new ( HOST, OPTIONS ) > > HOST may also be a reference to an array of hosts, host-port pairs or URIs > to try. Each will be tried in order until a connection is made. Only when > all have failed will t