perl6: hash小笔记
摘要:
1 > my %h = 1,2,3,4 2 {1 => 2, 3 => 4} 3 > my $a = :%h 4 h => {1 => 2, 3 => 4} 5 > $a.perl 6 :h({"1" => 2, "3" => 4}) 7 > my %h2 = 'a','b' 8 {a => b} 9 > my $a = :%h,:%h2 10 (h => {1 => 2, 3... 阅读全文
posted @ 2018-03-10 18:41 Perl6 阅读(128) 评论(0) 推荐(0) 编辑