I read from file
$line=<file> ; chop($line);
and split :
($uid,$fname,$sname) = split(/\s+/,$line);
After call function of LDAP and receive ERROR.
If I get variable $uid as argument from command line :
Prompt>>: Program.pl uid
Then 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. |
_______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs