in reply to PERL Conditionals

See How do I create a switch or case statement?