On 3/8/04 9:39 am, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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 ? >
Because the perl fairy makes it work. > > If I check variable $uid from command line and from file with function �cmp�, > I receive 0 . > > > > Help me, please. Seriously ;-) you need to give us a bit more information - like your script - to help identify the problem. Cheers, Chris
