Re: Text file separators

2003-10-06 Thread Lasse Hubinette
Hi, I have an interface written in Perl between two different systems. The perl program is started with case 1: program.pl -n -m getPrice -t case 2: program.pl -n -m enterDeal -t For case 1 the deciamal separator becomes "," and for case 2 it becomes ".", and I don't know why. They are using di

Re: Text file separators

2002-01-23 Thread Leon
- Original Message - From: "maureen" <[EMAIL PROTECTED]> To: "Tanton Gibbs" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 23, 2002 5:04 PM Subject: Re: Text file separators > Thanks for your suggestion. I tried

Re: Text file separators

2002-01-23 Thread Tanton Gibbs
ED]> Sent: Wednesday, January 23, 2002 8:04 PM Subject: Re: Text file separators > Thanks for your suggestion. I tried this: > > if( $username eq $in{username} && > > $password ne $in{password} ) { > > # issue error here > > } > The test for usern

Re: Text file separators

2002-01-23 Thread maureen
at's a very good point! You want something more like > > if( $username eq $in{username} && > $password ne $in{password} ) { > # issue error here > } > > otherwise, it will issue an error for the first password that doesn't > match...even if it is the us

Re: Text file separators

2002-01-23 Thread Tanton Gibbs
- From: "Mark Anderson" <[EMAIL PROTECTED]> To: "maureen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 23, 2002 5:55 PM Subject: RE: Text file separators > I haven't worked with cgi-lib.pl, so I'm confused. Is the pas

RE: Text file separators

2002-01-23 Thread Mark Anderson
lly my comments help. /\/\ark -Original Message- From: maureen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 2:09 PM Cc: [EMAIL PROTECTED] Subject: Re: Text file separators Thanks for the detailed information! I'm a beginner and apprec

Re: Text file separators

2002-01-23 Thread Tanton Gibbs
The chomp should be inside the foreach loop foreach my $i (@indata) { chomp($i); ... } - Original Message - From: "maureen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 23, 2002 5:08 PM Subject: Re: Text file separators > Thanks for

Re: Text file separators

2002-01-23 Thread maureen
Thanks for the detailed information! I'm a beginner and appreciate everyone's help. I tried a number of the suggestions in this and other responses to my post. This test: if ($password ne $in{password}) is still not working. I'd appreciate any suggestions.Here is the code: open(FILE,"pwdata.t