in reply to sort array of hashes

@AoH = sort { $a->{key} cmp $b->{key} } @AoH;

Replies are listed 'Best First'.
Re^2: sort array of hashes
by CountZero (Bishop) on Oct 18, 2008 at 21:26 UTC
    Super Search is your friend: How to sort by the key value of an Array of Hash structure?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James