Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$*ERR has stopped giving access to the standard error stream #641

Closed
p6rt opened this issue Jan 20, 2009 · 9 comments
Closed

$*ERR has stopped giving access to the standard error stream #641

p6rt opened this issue Jan 20, 2009 · 9 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 20, 2009

Migrated from rt.perl.org#62540 (status was 'resolved')

Searchable as RT62540$

@p6rt
Copy link
Author

p6rt commented Jan 20, 2009

From @mberends

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

@p6rt
Copy link
Author

p6rt commented Jan 22, 2009

From @mberends

Parrot/Rakudo r35311 (the rvar2 merge) is the change that broke $*ERR.
Hopefully this helps...

http://perlcabal.org/svn/parrot/revision/?rev=35311

@p6rt
Copy link
Author

p6rt commented Jan 22, 2009

@mberends - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 22, 2009

@mberends - Status changed from 'open' to 'new'

@p6rt
Copy link
Author

p6rt commented Jan 29, 2009

From @mberends

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.

@p6rt
Copy link
Author

p6rt commented Feb 10, 2009

From @masak

<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 [...]

@p6rt
Copy link
Author

p6rt commented Mar 20, 2009

From @jnthn

On Tue Jan 20 14​:55​:22 2009, mberends wrote​:

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

@p6rt
Copy link
Author

p6rt commented Mar 20, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Mar 20, 2009

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 20, 2009
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant