from perldoc bignum:
Please note the following does not work as expected (prints nothing), +since overloading of '..' is not yet possible in Perl (as of v5.8.0): perl -Mbignum -le 'for (1..2) { print ref($_); }'
this works:
for my $num (2..2) { $s = sqrt($num * 1); print Dumper(\$s); }
In reply to Re: 'use bignum' scoping question
by lamprecht
in thread 'use bignum' scoping question
by si_lence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |