I am in the middle of developing a perl script and since being new to perl I am giving it my best shot, I have gotten a start and need a tiny help to do the following. I need to get a particular file from a directory after matching a unique keyword in that file. So for example a dir has 10 files, and only one file has the keyword APPLES in it, I need to store the name of that file in my variable $filename.
Any ideas people
Thanks for the help in advance
In reply to Get Filename using perl by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |