Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
argument from File or Command line ; LDAP
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ystole...@univ.haifa.ac.il  
View profile  
 More options Aug 3 2004, 4:39 am
Newsgroups: perl.ldap
From: ystole...@univ.haifa.ac.il
Date: Tue, 3 Aug 2004 10:39:59 +0200
Local: Tues, Aug 3 2004 4:39 am
Subject: argument from File or Command line ; LDAP

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Ridd  
View profile  
 More options Aug 3 2004, 4:00 am
Newsgroups: perl.ldap
From: chrisr...@mac.com (Chris Ridd)
Date: Tue, 03 Aug 2004 09:00:47 +0100
Local: Tues, Aug 3 2004 4:00 am
Subject: Re: argument from File or Command line ; LDAP
On 3/8/04 9:39 am, ystole...@univ.haifa.ac.il <ystole...@univ.haifa.ac.il>
wrote:

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »