in reply to Rename html page titles
print HTFILE <changed title here>
to change the title. Even if you want to change it to nothing, you still need to write to the file.
That said, you're probably going to need to open a new file to write the entire output to once you've made your changes.
You could do it by modifying $/ and slurping the entire file in, doing a quick s/// on the string and then write the result to a file, but I'd stick with the other way if there aren't too many files to change.
Hope that helps!
There is no emoticon for what I'm feeling now.
|
|---|