>
>
> Oh well, neither is "note".  Someone must have
> had a special need for it at one time.
>

> Everyone does at one time :) It's really useful for debugging, but you
generally strip it out of production code.

So "note"
$ perl6 -e 'note "hi mom"' > /dev/null
hi mom

replaces "warn ...\n" or

$ perl6 -e 'warn "hi mom\n"' > /dev/null
hi mom

  in block <unit> at -e line 1

have I forgotten my p6 newline syntax (again)?

On Fri, Sep 15, 2017 at 3:29 PM, Brandon Allbery <allber...@gmail.com>
wrote:

> On Fri, Sep 15, 2017 at 4:02 PM, ToddAndMargo <toddandma...@zoho.com>
> wrote:
>
>> On 09/15/2017 12:52 PM, Brandon Allbery wrote:
>>
>>> On Fri, Sep 15, 2017 at 3:48 PM, ToddAndMargo <toddandma...@zoho.com
>>> <mailto:toddandma...@zoho.com>> wrote:
>>>
>>>     Is there a similar "print" to the STDERR for when
>>>     you don't want the cr-lf inserted?
>>>
>>>     The hard way:
>>>     $*ERR.print: "print to std err\n";
>>>
>>>
>>> That's it. It's not really common enough to deserve something shorter.
>>>
>>
>> Thank you for the confirmation.  Searching for
>> something like this brings up a bazillion Perl 5 hits.
>>
>> Oh well, neither is "note".  Someone must have
>> had a special need for it at one time.
>>
>
> Everyone does at one time :) It's really useful for debugging, but you
> generally strip it out of production code.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allber...@gmail.com
> ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>



-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

Reply via email to