Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Function "one" may not be called without arguments
a guest
May 29th, 2017
221
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Perl 6
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
use
v6
;
enum
MyEnum
<
one
,
two
,
three
>;
my
$a
=
3
;
given
$a
{
when
(
one
.
value
+
1
)
{
say
"one"
}
when
(
two
.
value
+
1
)
{
say
"two"
}
when
(
three
.
value
+
1
)
{
say
"three"
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
13 hours ago | 0.53 KB
Untitled
13 hours ago | 1.09 KB
Python Tkinter Bookkeeping sandbox
Python | 15 hours ago | 9.51 KB
69meter
19 hours ago | 2.08 KB
Untitled
1 day ago | 7.34 KB
Untitled
1 day ago | 7.25 KB
Untitled
1 day ago | 5.74 KB
Untitled
1 day ago | 6.47 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!