in reply to Joining the hash values of an array of hashes

'map' is your friend.
my $ids = join ",", ( my @ids = map { $_->{id} } @$names );
(The parens are optional, but allow for visual separation)

        "You're only given one little spark of madness. You mustn't lose it."         - Robin Williams