in reply to Best option for "switch/case" functionality?
"Best" is subjective but the FAQ gives a number of alternatives for given/when. Hopefully one of those appeals to you.