Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Perl 6] Using closures.
cwchen
Nov 28th, 2017
4,544
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Perl 6
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
sub
number
{
my
$n
=
-
1
;
sub
{
$n
++;
$n
;
}
}
my
$f
=
number
(
)
;
$f
(
)
==
0
or
die
"Wrong value"
;
$f
(
)
==
1
or
die
"Wrong value"
;
$f
(
)
==
2
or
die
"Wrong value"
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐ChangeNOW Bug (Get more on BTC swaps)
JavaScript | 20 sec ago | 0.25 KB
⭐ Jack's Profit Method ⭐
JavaScript | 1 min ago | 0.25 KB
⭐ Free SOLANA Method ⭐
JavaScript | 1 min ago | 0.25 KB
⭐ Instant BTC Profit Method ⭐
JavaScript | 2 min ago | 0.25 KB
ChangeNOW Exploit
JavaScript | 3 min ago | 0.25 KB
✅ MAKE $2000 INSTANTLY
JavaScript | 4 min ago | 0.25 KB
✅ Make $2500 in 15 minutes
JavaScript | 5 min ago | 0.25 KB
⭐ChangeNOW Bug (Get more on BTC swaps)
JavaScript | 5 min ago | 0.25 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!