There's more than one way to do things | |
PerlMonks |
Re^2: the if statementby eyepopslikeamosquito (Archbishop) |
on Sep 28, 2008 at 02:27 UTC ( [id://714106]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|