- or download this
use 5.010;
- or download this
use feature 'switch';
- or download this
no if $] >= 5.018, warnings => "experimental::feature_name";
- or download this
no if $] >= 5.018, warnings => "experimental::switch";
- or download this
Unknown warnings category 'experimental::switch' at ...
BEGIN failed--compilation aborted at ...
- or download this
no if $] >= 5.018, warnings => "experimental::smartmatch";
- or download this
given is experimental at ...
when is experimental at ...
when is experimental at ...
when is experimental at ...
- or download this
#!/usr/bin/env perl -l
...
state $word_for = {qw{1 One 2 Two 3 Three}};
return $word_for->{+shift} || 'Other';
}
- or download this
*** test1() ***
0 is Other
...
2 is Two
3 is Three
4 is Other