Help for this page

Select Code to Download


  1. or download this
    my %sorted =
    sort { $a->{old_file} cmp $b->{old_file} } 
       (keys %{$hashref});
    my $sorted = \%sorted;
    # or put { } around the sort expression to do it one line.