- or download this
my %feature = (
switch => 'feature_switch',
say => "feature_say",
state => "feature_state",
);
- or download this
Feature "~~" is not supported by Perl 5.10.0 at ...
- or download this
use feature qw / say /;
@a = (1, 17, 4);
say "first match succeeds" if (@a ~~ 17);
say "second match fails" unless ((1, 17, 4) ~~ 17);
- or download this
first match succeeds
second match fails