On Wed, Sep 13, 2017 at 7:51 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> How do I print to STDERR?  $*ERR?
>
> $ perl6 -e 'print $*ERR, "print to std err\n";'
> <STDERR>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, xmonad        http://sinenomine.net

Reply via email to