I like Sort::Key for this:
use Sort::Key qw/ nkeysort /; foreach ( nkeysort { $_->{id} } @{$json_response->{report}} ) { # ... }
Good Day,
Dean
In reply to Re: Sorting complex data
by duelafn
in thread Sorting complex data
by techie411
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |