in reply to Switch - "case" may clash with future reserved word

Fletch makes a good point about Switch, but if you need to fake it and make it look like a switch (although the lookup example is succinct and readable), you could do this, which I've done in the past:
for ($var) { /cat/ && do { ...; last }; /dog/ && do { ...; last }; warn "$var Nothing matched\n"; }
Pretty basic, and it has a similar feel. Just use the for to assign the value to $_ and then use pattern matching for your "case"s. Kind of similar to the shell's case ... in syntax. However, coding it as a lookup, or using some other idiom is usually a better bet.

---
echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
Warning: Any code posted by tuxz0r is untested, unless otherwise stated, and is used at your own risk.