in reply to File rewrite question

This isn't affecting the usability of the script, but I thought I'd mention, you're using DBI, but not actually using it within the script. I don't see any need for the use DBI; line.

Also, it wouldn't hurt anything, and may improve security a bit, to use the three-arg version of open. It's not terribly secure to accept filenames from the outside, and then use the 2-arg version of open.


Dave