in reply to Newbie needs help replacing files in a directory

You really want to replace each and every file with the same file?

Then use opendir(), then readdir() and you'll have an array containing all the names of the files.

Then use File::Copy and go through that array (skip the files named "." and "..") and do

copy('path/to/replacement.htm','path/to/$_')


($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print