Subject: | long integers - cross platform |
Hi,
This test script for long integers returns different values depending of the platform...
use feature say;
use Scalar::Util::Numeric qw(isint);
my @a = (12345612345, 1234561234 );
foreach (@a) {
my $r = isint ($_) ? "INT":"NO INT";
say $_." ".$r;
}
result for windows XP 32bit:
12345612345 NO INT
1234561234 INT
result for Macosx 64bit:
12345612345 INT
1234561234 INT
In my idea both should return the same results ?
--
Erik