>>>>> "JSD" == Jonathan Scott Duff <[EMAIL PROTECTED]> writes:

JSD> On Tue, Aug 15, 2000 at 12:57:46PM -0700, Nathan Wiger wrote:
>> This is a succinct summary of the basic conclusions thus far:
>> 
>> 1. a default filehandle IS needed sometimes, but only
>> for stuff like print

JSD> Well, I think that C<print> should always print to $PERL::STDOUT (or
JSD> whatever we call it) always; same with C<printf()>.  I'd hardly call that
JSD> "default" though.

Err, no.

What if you want to print to a default file handle and also to STDOUT?

        select(OTHERFH);
        print "This goest to OTHERFH\n";
        print STDOOUT "This went to STDOUT\n";

STDOUT is _not_ the default filehandle. It is the currently selected
filehandle when perl starts.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to