in reply to Getting element of array with a match
Or am I missing the point?my %hash = map { chomp; split /,/ } <DATA>; print $hash{1006},$/; __DATA__ 1001,choochoo 1002,candycane 1003,sockpuppet 1004,choochoo 1005,candycane 1006,sockpuppet6 1007,foo 1008,bar
_________
broquaint
|
---|