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
In reply to Re^3: using grep to find a word
by Anonymous Monk
in thread using grep to find a word
by shushant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |