I know nothing about Mozilla::LDAP, but assuming that it accepts ( $host, $port ) for the Conn->new() subroutine, can't you just
my $ldap_conn = new Mozilla::LDAP::Conn( split( /:/, $host ) );
Or am I missing something...
In reply to Re: looping an array through perldap
by lestrrat
in thread looping an array through perldap
by protos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |