On 10 Jul 2001 04:45:56 -0700, Bob Mangold wrote:
> Hello,
>
> I sent an email yesterday, but never heard anything. Maybe it was the word
> 'php' in the subject, but let me just simplify and ask another way.
>
> Is there a way to automatically direct all STDERR output to STDOUT. A module I
> have installed automatically creates STDERR output, but I want that output to
> go to the filehandle STDOUT.
>
> -Bob
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
Does anybody know why he shouldn't do the following?
*STDERR = *STDOUT;
The only downside I see to this is that is not reversible. Would
something like this be better?
*OLDSTDERR = *STDERR;
*STDERR = *STDOUT;
.
.
.
*STDERR = *OLDSTDERR;
--
Today is Sweetmorn, the 45th day of Confusion in the YOLD 3167
Or not.