Look into split for more detailmy @hosts = ('ldap0:80','ldap:3','ldap2:23'); foreach my $host (@hosts) { my $ldap_conn = new Mozilla::LDAP::Conn(split':',$host) }
In reply to Re: looping an array through perldap
by srawls
in thread looping an array through perldap
by protos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |