in reply to RE: Comparing Scalars and Arraysin thread Comparing Scalars and Arrays
grep { grep { $scalar == $_ } @{$_} } @array [download]
Update:And it's faster, 1000000 iterations has Grep+Grep at 11 Walclocks and Grep+Map at 16.
-- Casey