Re: stderr?
On 09/13/2017 04:57 PM, Brandon Allbery wrote: On Wed, Sep 13, 2017 at 7:51 PM, ToddAndMargo> wrote: How do I print to STDERR? $*ERR? $ perl6 -e 'print $*ERR, "print to std err\n";' print to std err What am I doing wrong? Use the OO form: $*ERR.print: "print to std err\n"; Unlike Perl 5, there is no special syntactic form that takes a separate handle. Or use "note", which is "say" but to $*ERR. Hi Brandon, $ perl6 -e '$*ERR.print: "print to std err\n";' print to std err $ perl6 -e '$*ERR.say: "print to std err";' print to std err That was easy. Thank you! -T DuckDuckGo is a pain the neck look this stuff up. I get 1001 hits on Perl 5!
Re: stderr?
On Wed, Sep 13, 2017 at 7:51 PM, ToddAndMargowrote: > How do I print to STDERR? $*ERR? > > $ perl6 -e 'print $*ERR, "print to std err\n";' > print to std err > > What am I doing wrong? > Use the OO form: $*ERR.print: "print to std err\n"; Unlike Perl 5, there is no special syntactic form that takes a separate handle. Or use "note", which is "say" but to $*ERR. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net