You could try one of the modules that provides a switch functionality. Recently I came across Switch::Plain. I personally found it very simple and easy to use.
In reply to Re: Given When Syntax
by dasgar
in thread Given When Syntax
by Deep_Plaid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |