Out of memory hash sort in Perl

Posted by syker on Stack Overflow See other posts from Stack Overflow or by syker
Published on 2010-05-18T04:01:08Z Indexed on 2010/05/18 4:11 UTC
Read the original article Hit count: 394

Filed under:
|

I am sorting a hash in Perl. I encountered an Out of memory error when running my Perl Script:

foreach $key (sort (keys(%hash))) {
   ....
}

How do I sort a hash that has tons of data?

© Stack Overflow or respective owner

Related posts about perl

Related posts about hash