Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Perl 6] Iterating a hash by keys.
cwchen
Oct 28th, 2017
1,358
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Perl 6
0.10 KB
| None
|
0
0
raw
download
clone
embed
print
report
my
%hash
=
one
=>
"eins"
,
two
=>
"zwei"
,
three
=>
"drei"
;
for
%hash
.
keys
->
$k
{
%hash
{
$k
}
.
say
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
17 min ago | 7.09 KB
Untitled
1 hour ago | 19.23 KB
Untitled
3 hours ago | 18.98 KB
Untitled
5 hours ago | 14.97 KB
Untitled
7 hours ago | 9.93 KB
SrA Drake Higgins - 200 EXP
9 hours ago | 11.73 KB
Untitled
9 hours ago | 14.41 KB
Untitled
11 hours ago | 8.84 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!