Perl 6小瞥之1 -- 注释
注释等同于空白(whitespace).
Perl 6增加了内嵌的注释(embedded comments)。
\'#\'后跟一对brackets,但是以\'#\'开头的行将被认为是行注释,无论它后面跟的是什么。
e.g.
say #( I\'m a comment ) \"howdy world\"
say #[ I am another comment] \"howdy world\"
say #[[ I am, too]] \"howdy world\"
--
Some computer language designers seem to think that punctuation is evil; I
doubt their English teachers would agree.
---- Larry Wall