in reply to Re^2: alternatives to if and series of elsif
in thread alternatives to if and series of elsif
You wouldn't :), I just used davido's as an example and, this looking suspiciously like homework my brother just got, left the exercise of creating a predefined hash to the OP (which would look much like your post anyway). I don't think kiat was asking for an answer to homework now, but didn't have time over the weekend to update. (and now that your post covers it I'll just leave it at a link to that.
"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce