Why? It can't be condensed in any useful fashion (especially without losing the comma), but it can be made more flexible. Consider:
my @items = (0, 1); printf "%s\n", join ', ', map {$_->{car}} @array[@items];
Prints:
ford, honda
In reply to Re: array of hashes
by GrandFather
in thread array of hashes
by toniax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |