in reply to array of hashes

A little:

print map $array[$_]{car}, 0,1;; ford honda print map $_->{car}, @array[0,1];; ford honda

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: array of hashes
by Anonymous Monk on Dec 05, 2010 at 18:47 UTC
    print join(', ', map $_->{car}, @array[0,1]), "\n";