in reply to Re^2: using grep to find a word
in thread using grep to find a word

but it is not working , @foo_d always holds 1 if anyone can please help out

GIGO, Basic debugging checklist , brian's Guide to Solving Any Perl Problem

@arr = qw/ ""fa la la ""la /; @foo_d = grep(/""/, @arr); print $_,$/ for @foo_d; __END__ ""fa ""la