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