# New Ticket Created by  卓明亮 
# Please include the string:  [perl #92826]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=92826 >


JimmyZ> perl6: my $a = "helloo"; $a = $a\ .\ chop; say $a;
p6eval> niecza v6-153-g6cb84d6: OUTPUT«hello␤»
p6eval> ..rakudo ae5bea: OUTPUT«===SORRY!===␤Confused at line 22, near "$a = 
$a\\ ."␤»
p6eval> ..pugs: OUTPUT«*** ␤ Unexpected "\\"␤ expecting "\187", ">>", "=", "^", 
operator name, qualified identifier, variable name, "...", "--", "++", "i", 
array subscript, hash subscript or code subscript␤ at /tmp/nZo6wf0ZsG line 1, 
column 29␤»
moritz> std: my $a = "helloo"; $a = $a\ .\ chop; say $a;
p6eval std 37a0cdd: OUTPUT«ok 00:01 122m␤»
moritz> agreed
JimmyZ> perl6: my $a = "helloo"; $a = $a\ ~\ 'world'; say $a; # another one
p6eval> niecza v6-153-g6cb84d6: OUTPUT«hellooworld␤»
p6eval> ..pugs: OUTPUT«*** ␤ Unexpected "~\\"␤ expecting "."␤ at 
/tmp/7_pprT39nG 
line 1, column 28␤»
p6eval> ..rakudo ae5bea: OUTPUT«===SORRY!===␤Confused at line 22, near "$a = 
$a\\ ~"␤» 


 在此祝你身体健康,天天快乐
卓明亮 

Reply via email to