fork download
  1. #!/usr/bin/perl6
  2. my %hash := {1=>[{a=>3, b=>4}]};
  3. #(why this returns only element from array, not whole hash in array?);\
  4.  say %hash<1>[0];
  5.  
Success #stdin #stdout 0.1s 100928KB
stdin
Standard input is empty
stdout
a => 3