Hello all,

Could anyone tell me how, I can have my Net LDAP script to use an array of 
hosts, to connect to?
I tried the following, but it did not work.

my @hosts = qw(host1, host2);

my $ldconnect = Net::LDAP->new(@hosts, port=>'389') || die "$@";


Thanks

Reply via email to