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}
Comment on
Re: If statements with . and .. filehandles.
Select
or
Download
Code
In Section
Seekers of Perl Wisdom