Advertisement
cwchen

[Go] Creating a hash.

Oct 28th, 2017
853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 6 0.10 KB | None | 0 0
  1. my %hash = one => "eins", two => "zwei", three => "drei";
  2.  
  3. %hash<two> eq "zwei" or die "Wrong value";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement