in reply to Re^3: Custom, Reusable Sort Subroutine for Hashes?
in thread Custom, Reusable Sort Subroutine for Hashes?
> 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!
|
|---|