in reply to Re: switch statement
in thread switch statement
Yes, Switch is still on CPAN, but it's completely broken on recent versions of Perl. It was broken by the change in precedence for prototyped monadic functions without parentheses in Perl 5.14.
There are patches to fix it on RT, but for whatever reason (perhaps to discourage people from using Switch), the current maintainer hasn't released a fix.
|
|---|