Would be nice if you showed us the code you've tried so we can explain where your misunderstandings are.
But this will do what you want.
@job_data = sort { $a->{runs} cmp $b->{runs} } @job_data;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Sorting an array of hashes
by davorg
in thread Sorting an array of hashes
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |