Walt Mankowski on Fri, 28 Jun 2002 12:23:52 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Large integers


On Fri, Jun 28, 2002 at 11:58:17AM -0400, Eric Roode wrote:
> Hello all,
> 
>     Can a Perl program tell whether it has 64-bit integers available
> to it, and modify its behavior accordingly?

This looks like it should work, but I don't have a 64-bit machine to
test it on:

use Config;
if ($Config{intsize} == 8) {
   print "Perl is using 64-bit integers\n";
}

Attachment: pgpMafbs3C57M.pgp
Description: PGP signature