Created
April 27, 2019 17:41
-
-
Save Whateverable/42ccc7f6ae6d9853b6e690e74d6fd71d to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my %h = (:a<1 2 3>, :b<4 5 6>, :c<7 8>); say gather for %h.keys -> $k { for @{%h{$k}} -> $v { take $k, $v } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
===SORRY!=== Error while compiling /tmp/JtBAZfTelq | |
Unsupported use of @{%h{$k}; in Perl 6 please use @(%h{$k) for hard ref or @::(%h{$k) for symbolic ref | |
at /tmp/JtBAZfTelq:1 | |
------> gather for %h.keys -> $k { for @{%h{$k}⏏} -> $v { take $k, $v } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment