2007å¹´03æ09æ¥01:30 ã«ãã´ãªLightweight Languages perl6 - quote-like operation ãããªãã¨ã¯ãããã¾ããã Matzã«ã£ã(2007-03-02) æååã®ä¸ã®ãã¬ã¼ã¹ããã¹ã¦å¼å±éã£ã¦ã¤ãããªããï¼ å¼å±éã§ãªããã¬ã¼ã¹ãå«ãæååã¯ããªããã·ã³ã°ã«ã¯ãªã¼ãã使ãã£ã¦ãã¨ããQuote-like Operators (q//,qq//,qw//,qx//,qr//)ã¯Perl 5ã®åç©ã§ãããPerl 6ã§ã¯ããã«æ¡å¼µããã¦ãã¾ããå®ä¾ãè¦ãæ¹ãæ©ãã¨æãã®ã§å®ä¾ãã sub f { "Perl" }; my $s = 42; my @a = (1,2); my %h = (one => 1, two => 2, three => 3); say q/"" => /, "$s, @a[], %h<>, &f(), { 1+2
{{#tags}}- {{label}}
{{/tags}}