http://www.perlmonks.org?node_id=1054961


in reply to switch statement

Depending upon what you want to do, a hash dispatch table might be your BFF in this case (bad pun intended.)

On time, cheap, compliant with final specs. Pick two.