Skip Menu |
Report information
Id: 126292
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: larry <larry [at] wall.org>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
From: Larry Wall <larry [...] wall.org>
Subject: [BUG] feeds don't correctly append to an argument list anymore
Date: Wed, 7 Oct 2015 23:12:40 -0700
Download (untitled) / with headers
text/plain 131b
> p6 'say map { $_ * 2 } <== 1 ... 10'
()(1 2 3 4 5 6 7 8 9 10)
> p6 'say map { $_ * 2 },0 <== 1 ... 10'
(0)(1 2 3 4 5 6 7 8 9 10)
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 274b
Whoops, posted the wrong examples. These actually show the difficulty: Show quoted text
> p6 'say() <== map { $_ * 2 } <== 1...10'
(2 4 6 8 10 12 14 16 18 20) Show quoted text
> p6 'say() <== map { $_ * 2 },0 <== 1...10'
(0 20) So this really looks like an insidious case of accidental one-arg semantics.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org