I open a file and place all its contents into an array. I want to check if a particular string occurs a certain number of times in the array. Is there a way I can do this using the (=~ m / / )? I know how to do it in grep. I was looking for a way to do it with the (=~ m//) method.
Thanks
In reply to find a string a certain number of times by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |