in reply to Getting unexpected errors when trying to sort hash of hashes

Most of your problems would go away if you replace the unfriendly data structure inside the places slots by a simple hash:
for my $entry (values %$list) { $entry->{places} = { map %$_, @{$entry->{places}} }; }