Skip Menu |
Report information
Id: 62540
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
mberends <mberends [at] flashmail.com>
Cc:
AdminCc:

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



Subject: [BUG] $*ERR has stopped giving access to the standard error stream
Date: Tue, 20 Jan 2009 23:54:21 +0100
To: rakudobug [...] perl.org
From: "mberends" <mberends [...] flashmail.com>
Download (untitled) / with headers
text/plain 252b
perl6 -e '$*ERR.say: "hello";' # writes to stderr This diagnostic type statement was very useful to insert into potentially buggy code, but between r35309 (good) and r35568 (bad) began to fail with: Cannot write to a filehandle not opened for write
Download (untitled) / with headers
text/plain 147b
Parrot/Rakudo r35311 (the rvar2 merge) is the change that broke $*ERR. Hopefully this helps... http://perlcabal.org/svn/parrot/revision/?rev=35311
Subject: [BUG] $*ERR and $*OUT are not opened for write
Download (untitled) / with headers
text/plain 226b
Not only $*ERR but also $*OUT is affected from r35311 onward: perl6 -e '$*OUT.say: "hello"' also gives the same error: Cannot write to a filehandle not opened for write Of course perl6 -e 'say "hello"' still works.
Subject: Printing to $*OUT and $*DEFOUT doesn't work in Rakudo
Date: Tue, 10 Feb 2009 08:33:56 +0100
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 277b
<masak> rakudo: $*OUT.say: "OH HAI" <p6eval> rakudo 577566: OUTPUT«Cannot write to a filehandle not opened for write [...] * masak submits rakudobug <masak> rakudo: $*DEFOUT.say: "OH HAI" <p6eval> rakudo 577566: OUTPUT«too many arguments passed (3) - 1 params expected [...]
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 354b
On Tue Jan 20 14:55:22 2009, mberends wrote: Show quoted text
> perl6 -e '$*ERR.say: "hello";' # writes to stderr > > This diagnostic type statement was very useful to insert > into potentially buggy code, but between r35309 (good) and > r35568 (bad) began to fail with: > > Cannot write to a filehandle not opened for write
Fixed in git 83e060f. Thanks, Jonathan


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