in reply to Play golf on an array of hashrefs
my @myvalues = map {$$elem{mykey} } @array; [download]
-- Brother Frankus.
¤
$> perl -e '@array=({mykey=>foo}, {mykey=>bar}), @out = map{ $$elem{my +key} } @array; print @out;' $> [download]
--
There are 10 kinds of people -- those that understand binary, and those that don't.