> On 03 Oct 2016, at 14:17, Wenzel Peppmeyer (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Wenzel Peppmeyer 
> # Please include the string:  [perl #129797]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=129797 >
> 
> 
> my $c = Channel.new;
> $c.send((1,2,3).Slip);
> $c.close;
> dd (1,$c.list,2).join(':')
> # OUTPUT«"1:1 2 3:2"␤»
> # expected OUTPUT«"1:1:2:3:2"␤»

$ 6 'dd (1,(2,3,4),5).join(":")'
"1:2 3 4:5”

would you expect to give that 1:2:3:4:5 as well?


I think the issue is clouded here by the stringification of a List:

$ 6 'say (1,2,3).Str'
1 2 3

$ 6 'say ((1,2,3),).Str'
1 2 3

$ 6 'dd (1,2,3)'
(1, 2, 3)

$ 6 'dd ((1,2,3),)'
((1, 2, 3),)

So I’m not sure there *is* a bug here.


Liz

Reply via email to