my %hash; for ( 1 .. 100000 ) { $hash{$_} = "What did you try?"; } print "We just created a hash with ", scalar( keys %hash ), " elements +.\n";
Works for me.
Dave
In reply to Re: Storing large data in perl hash
by davido
in thread Storing large data in perl hash
by Rahul6990
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |