Please help. I tried to figure this out to no avail.
I need to replace about 100 html files that all reside in the same directory.
I want to replace them all with the same file but, retain each files original name.
This is what I think should happen (oh boy) :
a-I want the perl script to open the directory,
b-Grab the first files name into an array or "$filename",
c-Copy the new.html file that will be replacing the old one ($filename),
d-Save that new file as the old $filename,
e-Proceed to the next file until all .html files are replaced.
This is prob easy for any of you gurus out there!
Thanks in advance for any assistance!
Bourbon Jim