in reply to Storing large data in perl hash
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 Section
Seekers of Perl Wisdom
in reply to Storing large data in perl hash
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