Re: stderr?

2017-09-13 Thread ToddAndMargo
On 09/13/2017 04:57 PM, Brandon Allbery wrote: On Wed, Sep 13, 2017 at 7:51 PM, ToddAndMargo <mailto:toddandma...@zoho.com>> wrote: How do I print to STDERR? $*ERR? $ perl6 -e 'print $*ERR, "print to std err\n";' print to std err What am I d

Re: stderr?

2017-09-13 Thread Brandon Allbery
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"; Unl

stderr?

2017-09-13 Thread ToddAndMargo
Hi All, 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? Many thanks, -T

Re: print to STDERR problem

2017-02-19 Thread Timo Paulssen
gt;> get there? We should obviously improve the docs so that they get found >> instead of the archive … >> > > https://duckduckgo.com/?q=perl6+stderr&t=ffab&ia=software > > search term was "perl6 stderr" > > It is the 9th hit down (the gray one at

Re: print to STDERR problem

2017-02-19 Thread Steve Mynott
I added the red box today after reading this thread! :) S On 19 February 2017 at 15:14, Timo Paulssen wrote: > Can you suggest how to improve the warnings about its obsolescence? Right > now it says: > > This file is part of the Perl 6 Archive > Note: these documents may be out of date. Do *not

Re: print to STDERR problem

2017-02-19 Thread ToddAndMargo
f the archive … https://duckduckgo.com/?q=perl6+stderr&t=ffab&ia=software search term was "perl6 stderr" It is the 9th hit down (the gray one at the top is #1)

Re: print to STDERR problem

2017-02-19 Thread Brandon Allbery
On Sun, Feb 19, 2017 at 10:14 AM, Timo Paulssen wrote: > Can you suggest how to improve the warnings about its obsolescence? Right > now it says: They wanted to use a perl 5 to perl 6 converter. They were warned that all such had not been maintained in some time and were likely to generate inco

Re: print to STDERR problem

2017-02-19 Thread Timo Paulssen
Oh, another question: please tell us how you reached that site? I expect you did a google search or something; can you tell us what search terms you've used to get there? We should obviously improve the docs so that they get found instead of the archive …

Re: print to STDERR problem

2017-02-19 Thread Timo Paulssen
Can you suggest how to improve the warnings about its obsolescence? Right now it says: > > This file is part of the Perl 6 Archive > > Note: these documents may be out of date. Do *not* use as reference! > > To see what is currently happening visit http://www.perl6.org/ > And then a bit low

Re: print to STDERR problem

2017-02-18 Thread ToddAndMargo
On 02/18/2017 07:35 PM, Brandon Allbery wrote: On Sat, Feb 18, 2017 at 10:33 PM, ToddAndMargo mailto:toddandma...@zoho.com>> wrote: am having issues writing to STDERR. I am using this as a reference: https://perl6.org/archive/rfc/30.html <https://perl6.org/archi

Re: print to STDERR problem

2017-02-18 Thread Brandon Allbery
On Sat, Feb 18, 2017 at 10:33 PM, ToddAndMargo wrote: > am having issues writing to STDERR. I am using this as > a reference: >https://perl6.org/archive/rfc/30.html > >The p52p6 translator needs to be able to spot >instances of barewords and globs

print to STDERR problem

2017-02-18 Thread ToddAndMargo
Hi All, I am having issues writing to STDERR. I am using this as a reference: https://perl6.org/archive/rfc/30.html The p52p6 translator needs to be able to spot instances of barewords and globs and translate them to scalars: print STDERR @foo

Re: intercept STDERR

2017-02-18 Thread Timo Paulssen
Normally it's enough to override $*ERR for this purpose. I suggest using IO::MiddleMan to do that, or maybe IO::Capture::Simple. HTH - Timo

intercept STDERR

2017-02-17 Thread ToddAndMargo
Hi All, In Net::SMTP, we have: $debug when set to a true value, will print the SMTP traffic to stderr. Is there an easy way to intercept this so I can analyze if the mail went through properly? Many thanks, -T -- ~~ Computers are like air