See How do I create a switch or case statement?
In reply to Re: PERL Conditionals by fglock in thread PERL Conditionals by nashr