daily pastebin goal
25%
SHARE
TWEET

[Perl 6] Creating an empty hash.

cwchen Oct 28th, 2017 82 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
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
 
Top