in reply to Problem using NET::LDAP with multiple ldap servers

From the docs

HOST may also be a reference to an array of hosts, host-port pairs or URIs to try.

try

#my @LOCAL_LDAP_SERVERS = @{$ldap_servers}; #my $ldap = Net::LDAP->new( @LOCAL_LDAP_SERVERS, my $ldap = Net::LDAP->new( $ldap_servers, ...);
poj

Replies are listed 'Best First'.