Hi all,
This is a problem we have come across. Any suggestions?
Nir.
when I read from a file
$line=file ;
chop($line);
and split :
($uid,$fname,$sname) = split(/\s+/,$line);
After a call to function of LDAP (add),I receive an endless loop in
function of LDAP .
If I get variable $uid as argument
Hi,
I am neither a Perl nor an LDAP expert, but here are some hints:
1) it's better to use chomp instead of chop
2) I think it's better if you pass just a single space (' ') as the first
parameter to split() (without slashes, i.e. the call would be split(' ',$line);
). This means that split()