in reply to Simple IF, IF, IF or ELSE
This is often called a "dispatch" or "case" or "switch" structure. You can find several suggestions for alternatives in the documents distributed with your perl:
perldoc -q switch
You can also read the FAQ online.