摘要: Array类 继承 ,而 又继承 ,`Positional Cool`,这样说明Array是有序的,可迭代的数据列表。和Perl 5 一样,Perl 6也有数组push/pop/shift/unshift/的方法,不过push/unshift的如果是数组,则会保留数据结构,而不会展开。 需要注意 a 阅读全文
posted @ 2016-06-01 21:00 乌祁班岚图 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 时间 Date DateTime Dateish Duration 其实就是个 数,is Cool does Real 这样 Real 以及 Real的父类 Numeric 的方法都可以用 Instant 其实就是个 数,is Cool does Real 这样 Real 以及 Real的父类 Nu 阅读全文
posted @ 2016-06-01 20:56 乌祁班岚图 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Control Flow 注意空格,注意空格,注意空格 和 Perl5不同的是,这些结构都可以返回值,而且即使倒置结构也可以用 block 了 block 可以有逗号 with without orwith 阅读全文
posted @ 2016-06-01 20:54 乌祁班岚图 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Perl6 is a new language, not a improved version of Perl5. Perl6 inherits many good features from many languages, like Python, Perl5, Ruby, ... Since s 阅读全文
posted @ 2016-06-01 13:34 乌祁班岚图 阅读(236) 评论(0) 推荐(0) 编辑