Thanks a lot, Rob. Thaz exactly what I am looking for... =)
----- Original Message ----- From: "Rob Dixon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 01, 2004 4:12 AM Subject: Re: Integer out of range..... > Bee wrote: > > > > Anything I can do to working like this ? > > > > print for ( 0.. 3410068347520) ; > > > > Thanks in advise > > Hi Bee. > > Use Math::BigInt, like this. (The underscores in the > constant are optional, as for normal Perl integers.) > > HTH, > > Rob > > > use strict; > use warnings; > > use Math::BigInt; > > my $n = new Math::BigInt 0; > my $limit = new Math::BigInt 3_410_068_347_520; > > while ($n <= $limit) { > print $n, "\n"; > $n++; > } > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>