M
mrlawrencelam
Seeing my questin below and you will know that I don't know much about
Perl. But I urgently need a simple Perl script that do this task:
How do I write a little Perl script to read a file and check for a
string?
1) Read the file "aaa.txt".
2) If string "xxx yyy zzz" is in that file, then do action 1.
3) If not, then do action 2.
Thanks.
Perl. But I urgently need a simple Perl script that do this task:
How do I write a little Perl script to read a file and check for a
string?
1) Read the file "aaa.txt".
2) If string "xxx yyy zzz" is in that file, then do action 1.
3) If not, then do action 2.
Thanks.