daily pastebin goal
18%
SHARE
TWEET

[Perl 6] Creating an empty hash.

cwchen Oct 28th, 2017 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. my %hash;
  2.  
  3. %hash<one> = "eins";
  4. %hash<two> = "zwei";
  5. %hash<three> = "drei";
  6.  
  7. %hash<two> eq "zwei" or die "Wrong value";
RAW Paste Data
Top