in reply to Re^2: array indexin thread array index
my @where = grep { $question[$_] eq $search } 0 .. $#question; [download]
Using a hash for lookup is a not so dead simple adaptation, but still feasible. In the meantime, wfsp has shown how it can be done.