Fletch, thank you so much for the great explanation and for taking the time to elaborate. I'm still learning perl and this is just plain good info. I don't think the wasted time via the chomp will be an issue because this is a simple system and all the file names are program generated, and in a fixed format, but it's still good to know. Also, I'll fix the 'or' issue right away. Thanks again.