Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Perl 6] Using return statement.
cwchen
Nov 15th, 2017
9,675
0
Never
2
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Perl 6
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
sub
is
-
odd
(
Int
$n
)
{
if
$n
%
2
==
0
{
return
False
;
}
True
;
}
is
-
odd
(
3
)
or
die
"Wrong status"
;
Advertisement
Comments
User was banned
User was banned
Add Comment
Please,
Sign In
to add comment
Public Pastes
MIDI setup
6 hours ago | 0.20 KB
Sniffed from funkemunky report
13 hours ago | 67.47 KB
fe7 rando settings for importing (requires yu...
14 hours ago | 2.54 KB
LOGs
15 hours ago | 0.50 KB
Untitled
1 day ago | 14.12 KB
Untitled
1 day ago | 11.86 KB
Untitled
C | 1 day ago | 8.97 KB
Untitled
Python | 2 days ago | 8.34 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!