in reply to If statements with . and .. filehandles.

You should change your || to &&. With the || test, a filename will pass one condition or the other regardless of the filename is.

-- Mike

--
just,my${.02}