Keep It Simple, Stupid | |
PerlMonks |
Re: If statements with . and .. filehandles.by thelenm (Vicar) |
on Jun 18, 2002 at 20:22 UTC ( [id://175489]=note: print w/replies, xml ) | Need Help?? |
You should change your || to &&. With the || test, a filename will pass one condition or the other regardless of the filename is.
-- Mike --
In Section
Seekers of Perl Wisdom
|
|