in reply to Re^5: grep and dereferencing an array of arrays
in thread grep and dereferencing an array of arrays
my ($chosen_answer) = grep { $_->[0] eq $answer } @$choices;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: grep and dereferencing an array of arrays
by McA (Priest) on Sep 06, 2013 at 21:12 UTC |