Dont use Switch, period. As the author says himself that it belongs to a class of modules that "you shouldn't use in production because their purpose is to explore and prototype future core language features".
If you want a powerful switch construct that works, upgrade to 5.10.
• another intruder with the mooring in the heart of the Perl
In reply to Re: Can't divide by zero bug? (no, Switch.pm bug)
by grinder
in thread Can't divide by zero bug?
by hiddenOx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |