Category : Perl6

Home » Archive by category : Perl6 (paged 2)

my ($, $, $real-care-about-it) = 1, 2, 3; say $real-car ..

Read more

Perl6 的複合指定運算子(compound assignment operators) 比 Perl5 多 ..

Read more

Perl6 的數列,語法非常有彈性,寫法如下: my @seq = 3, 9 … * > 30; # 數列 ..

Read more

Perl6 多了一個有趣的陣列宣告法,叫「無窮陣列」,用法如下: my @arry = 1..*; # 1,2 ..

Read more

由 Perl6 的 for 語法可以發現 pointy-block 的作法,但此法並不限於 for 才能使用, ..

Read more

Perl6 的迴圈語法有很大的改變,Perl5 的 for 變成 Perl6 的 loop,Perl5 的 f ..

Read more

傳統的 Perl 是沒有 switch 語法的,只能用 if/elsif/else、LABEL、或 switc ..

Read more

http://design.perl6.org/Differences.html 瀏覽..

Read more

要開始寫 Perl6 程式,慣用 Emacs 編輯器的人,當然不能缺支援 perl6 的 cperl-mode ..

Read more

http://learnxinyminutes.com/docs/perl6/ 瀏..

Read more