in reply to Ignoring index.htm in a directory

Hm, I'm not sure exactly what you mean, but if you are interested in gathering a list of files from a directory, but exclude "index.htm" from the list, I'd use something like this:
my @files=grep $_ ne 'index.htm',<the/directory/*>;