Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: the if statement

by eyepopslikeamosquito (Chancellor)
on Sep 28, 2008 at 02:27 UTC ( #714106=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

Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi. :-)

-- Larry Wall in Authoritative list of Larry Wall quotes

See also Clubbing someone to death with a loaded Uzi blog by Dominus.

Comment on Re^2: the if statement

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-11-25 03:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (670 votes), past polls