Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Function "one" may not be called without arguments
a guest
May 29th, 2017
311
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
Instant Profits Method
CSS | 6 min ago | 0.44 KB
Free Money Exploit
CSS | 6 min ago | 0.44 KB
+12,000$ in 2 days
CSS | 6 min ago | 0.70 KB
✅ Changelly Exploit
6 min ago | 0.44 KB
diabetes care
CSS | 5 hours ago | 4.70 KB
army order
CSS | 6 hours ago | 2.13 KB
ini.php
PHP | 7 hours ago | 7.91 KB
Weatherlight - Flash melts sand
8 hours ago | 0.96 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!