Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: Custom, Reusable Sort Subroutine for Hashes?by LanX (Saint) |
on Aug 30, 2017 at 15:41 UTC ( [id://1198340]=note: print w/replies, xml ) | Need Help?? |
> 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
In Section
Seekers of Perl Wisdom
|
|