in reply to using grep to find a word
G'day shushant,
Welcome to the monastery.
"I have to find a word ending with % in an array , I think we can do it with grep . can we do it"
Yes, you can do it with grep. However, depending on the size of the array and whether you care which word ("ending with %") you find, the first() function provided by List::Util might be a better choice.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using grep to find a word
by Anonymous Monk on Jun 24, 2013 at 08:43 UTC | |
by hdb (Monsignor) on Jun 24, 2013 at 08:51 UTC | |
by Anonymous Monk on Jun 24, 2013 at 08:55 UTC | |
by Eily (Monsignor) on Jun 24, 2013 at 12:22 UTC | |
by Laurent_R (Canon) on Jun 24, 2013 at 11:55 UTC | |
by kcott (Archbishop) on Jun 24, 2013 at 23:39 UTC |