Joost is absolutely right. Switch is a source filter (a module that manipulates your perl code) and is as such inherently and actually buggy. If you really can't live without it, install the newest perl and use the new given-syntax. Otherwise, use if-else or a dispatch table.
In reply to Re: Case Statement
by holli
in thread Case Statement
by phimtau123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |