Changing the "my $sorted" to "my @sorted" (and the like changes below in the foreach loop) gives me sorted results.Useless use of sort in scalar context at ./testsort.pl line 22.
In reply to Re: How to sort a AoH reference
by Transient
in thread How to sort a AoH reference
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |