pg has asked for the wisdom of the Perl Monks concerning the following question:
According to the doc of bigint, it claims that all operators are overloaded:
"All operators (including basic math operations) are overloaded."
But this gives error:
use strict; use warnings; use bigint; print 2 ** 31 -1; for (1 .. 2 ** 31 - 1) { print "."; }
Range iterator outside integer range at math1.pl line 6.
(This is 5.8.4)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: bigint does bot overload range operator
by sk (Curate) on Oct 02, 2005 at 05:41 UTC | |
|
Re: bigint does bot overload range operator
by rir (Vicar) on Oct 02, 2005 at 04:19 UTC | |
by thor (Priest) on Oct 02, 2005 at 12:58 UTC | |
by pg (Canon) on Oct 02, 2005 at 17:14 UTC |