Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hello
I need your help , actually I am trying to find out those words which end with ""(double quotes ) , using grep. so I am doing this . please tell me why is it wrong and how to do it
@ar = grep {/^""$/} @array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grep for ending with double quotes
by davido (Cardinal) on Jun 25, 2013 at 05:09 UTC | |
by Anonymous Monk on Jun 25, 2013 at 06:00 UTC | |
by davido (Cardinal) on Jun 25, 2013 at 06:16 UTC | |
by 2teez (Vicar) on Jun 25, 2013 at 06:18 UTC | |
|
Re: grep for ending with double quotes
by Happy-the-monk (Canon) on Jun 25, 2013 at 05:59 UTC |