Perl has no built-in switch statement. The Switch module should not be used. As you don't show any code and don't show what problem you are trying to solve, I can't help you further.
You might want to read some warnings on using Switch:
In reply to Re: using switch
by Corion
in thread using switch
by sicone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |