in reply to Re^3: Custom, Reusable Sort Subroutine for Hashes?
in thread Custom, Reusable Sort Subroutine for Hashes?

> but you can't use the nice syntax anymore:

> say for sort_hash(\&numerically, %hash);

well you don't need the braces

say for sort_hash \&numerically, %hash ;

and this works too

say for sort_hash {numerically} %hash ;

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!