Help for this page
my @sorted = sort { $a->{num} cmp $b->{ num } } @$data;
#!/usr/local/bin/perl -w use strict; ... @$data; print join ', ', map { $_->{num} } @sorted;