Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: the if statement

by FunkyMonk (Chancellor)
on Sep 27, 2008 at 22:50 UTC ( [id://714075]=note: print w/replies, xml ) Need Help??


in reply to Re: the if statement
in thread the if statement

you need to loop through the keys, comparing $input to each key
That's what exists is for. In this case if ($hash{$input}) { ... } is probably good enough.

Log In?
Username:
Password:

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

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

    No recent polls found