I thought of that feature active only with use Switch 'Perl6';
The experimental Switch module has nothing to do with the built-in switch statement Perl introduced in 5.10.
but the keyword is obviously reserved all the time.
Not so. That would have broken backwards compatibility. It's only reserved when use feature qw( switch ); is in use, which is done by use 5.10.0; for you (since you're obviously not worried about backwards compatibility).
In reply to Re^3: "use 5.10.0" creates weird syntax error on sub named "default"
by ikegami
in thread "use 5.10.0" creates weird syntax error on sub named "default"
by aixtal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |