I don't mean to be rude but a good place to start would be the documentation. There are examples of how to use grep there. If you don't understand the docs then come and ask questions. Perlmonks is a place where you have to put some effort into finding the answer yourself, rather than copying the answer from someone else. Its better to learn something than to copy it :)
Lobster Aliens Are attacking the world!In reply to Re: Use of grep and foreach
by cfreak
in thread Use of grep and foreach
by monaLisa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |