in reply to Sorting complex data
I like Sort::Key for this:
use Sort::Key qw/ nkeysort /; foreach ( nkeysort { $_->{id} } @{$json_response->{report}} ) { # ... }
Good Day,
Dean
|
---|
In Section
Seekers of Perl Wisdom
in reply to Sorting complex data
I like Sort::Key for this:
use Sort::Key qw/ nkeysort /; foreach ( nkeysort { $_->{id} } @{$json_response->{report}} ) { # ... }
Good Day,
Dean
|
---|