If I'm not using bignum, bigint, or biganything; what kind of limits should I expect my scalars to have?
Do they have limits?
EXAMPLE!! (insert your own impatience)
#!/usr/bin/perl -w use strict; my $bestCounterEver = 0; my $nTimes = 10000000; my $lamePrintCounter = $nTimes; print "COUNTY!\n"; while (1) { $SIG{INT} = \&lazy; $bestCounterEver += 100000; $lamePrintCounter--; if ($lamePrintCounter < 0) { $lamePrintCounter = $nTimes; print "still going: $bestCounterEver\n"; } } sub lazy { print "Wait longer next time!!\n"; print "Final Count = $bestCounterEver \n"; exit(0); }
In reply to Highest scalar = ??? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |