in reply to Sorting an array of anonymous hashes with named hashes using hash value

$places->$a->{name}

That's an object method reference invocation on an object reference. Try
    $places->{$a}->{name}
| No, that won't do it; try this.   (More rubber-duckery needed!)


Give a man a fish:  <%-{-{-{-<