I am confused by your question: As far as I can tell, CGI::Switch (which apparently has been deprecated for a long time - what version are you using?) doesn't provide a switch method. The use of Switch is not recommended, and even if you are using it, I don't think your syntax switch { is correct.
Could you tell us where you're getting switch from, and try to boil down the code that fails for you into an SSCCE?
In reply to Re: Switch.pm Failure
by haukex
in thread Switch.pm Failure
by tultalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |