Re: Regular Expression question w/ long numbers

2006-01-09 Thread David Nicol
On 1/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It seems like a simpler question would be; how do I tell Perl to not convert > my long numbers to scientific notation? keep them as strings, as you are doing. Why do you need such accuracy? What process is generating real data that you ar

Re: Regular Expression question w/ long numbers

2006-01-09 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > I am trying to do some simple regular expressions but just can't get > them right. > > I have a very long number that I am trying to perform some reg ex > funtions on. When I put the long number in quotes, the reg ex works > fine. When I do ot use quotes, the number

Re: Regular Expression question w/ long numbers

2006-01-09 Thread DePriest, Jason R.
use Math::BigFloat; $m = Math::BigFloat->new('7191750529163469.123'); # notice NO double quotes, this is still a number print "$m\n"; $m =~ /(\d\d\d)$/; #Get the last three digits. print "$1\n"; This gives: 7191750529163469.123 123 which is what you are looking for I think. -Jason On 1/9/06, [E

Re: Regular Expression question w/ long numbers

2006-01-09 Thread John W. Kennedy
[EMAIL PROTECTED] wrote: I am trying to do some simple regular expressions but just can't get them right. I have a very long number that I am trying to perform some reg ex funtions on. When I put the long number in quotes, the reg ex works fine. When I do ot use quotes, the number is viewe

RE: Regular Expression question w/ long numbers ([EMAIL PROTECTED])

2006-01-09 Thread JPerlmutter
Mr/Ms rv457- My response is embedded [EMAIL PROTECTED] wrote on 01/09/2006 03:05:24 PM: > Today's Topics: > >4. Regular Expression question w/ long numbers ([EMAIL PROTECTED]) > > -- > -- > >

Regular Expression question w/ long numbers

2006-01-09 Thread rv457
I am trying to do some simple regular expressions but just can't get them right.    I have a very long number that I am trying to perform some reg ex funtions on.  When I put the long number in quotes, the reg ex works fine.  When I do ot use quotes, the number is viewed as numeric and the reg ex

RE: CGI::Session Version 4.03 issues?

2006-01-09 Thread Mark Knoop
> On Mon, 9 Jan 2006, Mark Knoop wrote: > > > Hi > > > > I am looking at using CGI::Session. The most recent version in the > > ActiveState repositories is 3.95 and looking at CPAN this > appears to be the > > most recent version with all passes. However 4.03 has a new load() > > constructor that I

Re: CGI::Session Version 4.03 issues?

2006-01-09 Thread Randy Kobes
On Mon, 9 Jan 2006, Mark Knoop wrote: Hi I am looking at using CGI::Session. The most recent version in the ActiveState repositories is 3.95 and looking at CPAN this appears to be the most recent version with all passes. However 4.03 has a new load() constructor that I was planning to use, thou

CGI::Session Version 4.03 issues?

2006-01-09 Thread Mark Knoop
Hi I am looking at using CGI::Session. The most recent version in the ActiveState repositories is 3.95 and looking at CPAN this appears to be the most recent version with all passes. However 4.03 has a new load() constructor that I was planning to use, though 4.03 does not have a 100% pass rate on