in reply to Number size equal to one byte
my $storage = ""; foreach my $which (0..1023) { vec($storage, $which, 8) = 10 + rand(90); } print "stored in ".length($storage)." bytes\n"; foreach my $which (0..1023) { print "item $which is ", vec($storage, $which, 8), "\n"; }
-- Randal L. Schwartz, Perl hacker
|
|---|