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.
|
---|
In Section
Seekers of Perl Wisdom