I read from file 

 

$line=<file> ;

chop($line);

 

and split :

 

($uid,$fname,$sname) = split(/\s+/,$line);

 

After call function of LDAP ,  receive endless loop in function of LDAP .

 

 

If I get variable $uid as argument from command line :

 

Prompt>>:     Program.pl uid 

 

Then function of LDAP works OK !

 

Why ?

 

If I check variable $uid from command line and from file with function “cmp”, I 
receive 0 .

 

Help me, please.

JS.

 

Reply via email to