http://www.perlmonks.org?node_id=1157901


in reply to Re^2: How do you sort keys of a hash in descending order and print 3 per line?
in thread How do you sort keys of a hash in descending order and print 3 per line?

I received this message: Argument "t" isn't numeric le (<=) ... Any idea why?

Because you've mis-copy/pasted the code. I can copy/paste the exact code posted by bangor above and run it with warnings and strict enabled, and no complaint from Perl.


Give a man a fish:  <%-{-{-{-<