Re: locale question (was Re: Stupid doubt!)

2002-10-31 Thread Robert Citek
At 12:04 AM 10/26/2002 +0200, Jenda Krynicky wrote: From: Robert Citek [EMAIL PROTECTED] This sounds like something that perl should be able to handle by changing the locale so that you do not have to alter the source file. I hope NOT! This would break tons of modules! Perhaps. But then

Re: locale question (was Re: Stupid doubt!)

2002-10-31 Thread Jenda Krynicky
From: Robert Citek [EMAIL PROTECTED] At 12:04 AM 10/26/2002 +0200, Jenda Krynicky wrote: From: Robert Citek [EMAIL PROTECTED] This sounds like something that perl should be able to handle by changing the locale so that you do not have to alter the source file. I hope NOT! This would

RE: Stupid doubt!

2002-10-26 Thread Wagner, David --- Senior Programmer Analyst --- WGO
, $cc; Output: 1.0101 2.20202 3.21212 Wags ;) -Original Message- From: Cleiton L. Siqueira [mailto:cleiton;colegiomonjolo.com.br] Sent: None To: [EMAIL PROTECTED] Subject: Stupid doubt! Dear, I've tried to add two variables, but the result isn't right. Because when Perl add the both

Stupid doubt!

2002-10-25 Thread Cleiton L. Siqueira
Dear, I've tried to add two variables, but the result isn't right. Because when Perl add the both it removes the decimal numbers from the each variable. How can I add these variables in perl? Thanks, Cleiton L. Siqueira Colégio Monjolo [EMAIL PROTECTED] (0xx45) 520-1915 Esta

Re: Stupid doubt!

2002-10-25 Thread Robert Citek
Hello Cleiton, At 01:32 PM 10/25/2002 -0700, Cleiton L. Siqueira wrote: I've tried to add two variables, but the result isn't right. Because when Perl add the both it removes the decimal numbers from the each variable. How can I add these variables in perl? Does this one-liner work on your

Re: Stupid doubt!

2002-10-25 Thread Cleiton L. Siqueira
Dear, Thanks for your help!!! I was making a mistake with my source file. My file has numbers like this 2,25. Perl uses . and not , to decimal numbers. I changed the . to , in the file and now it's working well. Sorry, for my stupid question!!! And Thanks for your attention and answers.

locale question (was Re: Stupid doubt!)

2002-10-25 Thread Robert Citek
Hello Cleiton, At 02:36 PM 10/25/2002 -0700, Cleiton L. Siqueira wrote: Thanks for your help!!! No problem. I was making a mistake with my source file. My file has numbers like this 2,25. Perl uses . and not , to decimal numbers. I changed the . to , in the file and now it's working well.

Re: locale question (was Re: Stupid doubt!)

2002-10-25 Thread Jenda Krynicky
From: Robert Citek [EMAIL PROTECTED] At 02:36 PM 10/25/2002 -0700, Cleiton L. Siqueira wrote: I was making a mistake with my source file. My file has numbers like this 2,25. Perl uses . and not , to decimal numbers. I changed the . to , in the file and now it's working well. This sounds