-
-
Save zoffixznet/1fe539715b0332be7361990785b0dd87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
enum MyEnum (one => 1, 'two', 'three'); | |
my $a = 3; | |
given $a { | |
when one {say "one"} | |
when two {say "two"} | |
when three {say "three"} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment