in reply to Q about module building
and all should be sweet. Just remember to run 'make clean' before you try to rebuild the module using a different perl - or you'll likely get some confusing 'make test' results./home/me/perl589_64int/bin/perl Makefile.PL make test
One would naively expect that, irrespective of whether perl was built with -Duse64bitint or with -Dusemorebits, the output of that script would be "as expected". But that's not so. The -Duse64bitint build outputs "wow", and the -Dusemorebits build outputs "as expected".use strict; use warnings; my $x = 2 ** 55; my $y = $x + 1; if($x == $y) {print "wow\n"} else {print "as expected\n"}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Q about module building
by cmac (Monk) on Feb 27, 2009 at 04:13 UTC | |
by ikegami (Patriarch) on Feb 27, 2009 at 04:54 UTC |