Quote:
|
Originally Posted by boldy
I'm in a good mood today so i wrote this little perl script for you :
uploaded it and call it test.pl
then run it from the command shell:
(make sure you're into the public_html dir)
perl test.pl
|
Hey boldy, I gave it a shot, and it didn't seem to work. It listed every file on my server, but nothing was changed. I followed up a second time with a test - I created your test.pl, with the replacement text as follows:
Code:
my $lReplace = "testtesttest";
Then I ran the command: grep -Ri testtesttest * and the only file I found was the test.pl file.
Any ideas?