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>


Reply via email to