Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://175489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found