I'm not sure if you are disagreeing with me or not. The context was the statment that $STDOUT is the _default_ filehandle. I was pointing out that by _overriding_ the instantaneous meaning of $STDOUT to the default fail handle, one would lose the immediate access to the previous value. I.e. $STDOUT should always mean one and only one file at a time. Unless one wants to have a $DEFAULT filehandle and get rid of single arg select. <chaim> >>>>> "JSD" == Jonathan Scott Duff <[EMAIL PROTECTED]> writes: JSD> On Tue, Aug 15, 2000 at 06:53:30PM -0400, Chaim Frenkel wrote: >> 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"; JSD> print $_ "Here I come to save the day!\n" for ($PERL::STDOUT, $myfh); JSD> And again, if you want to print different stuff to different JSD> filehandles, you know how to use the JSD> print FILEHANDLE LIST; JSD> version of print. -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- Re: command line option: $|++ Jonathan Scott Duff
- Re: command line option: $|++ Peter Scott
- Re: command line option: $|++ Nathan Wiger
- Re: command line option: $|++ Peter Scott
- Default filehandles(was Re: command line ... Nathan Wiger
- Re: Default filehandles(was Re: command l... Jonathan Scott Duff
- Re: Default filehandles(was Re: command l... James Mastros
- Re: Default filehandles(was Re: command l... Nathan Wiger
- Re: Default filehandles(was Re: command l... Chaim Frenkel
- Re: Default filehandles(was Re: command l... Jonathan Scott Duff
- Re: Default filehandles(was Re: command l... Chaim Frenkel
- Re: Default filehandles(was Re: command l... Nathan Wiger
- Re: Default filehandles(was Re: command l... Chaim Frenkel
- Re: Default filehandles(was Re: command l... Nathan Wiger
- Re: Default filehandles(was Re: command l... Chaim Frenkel
- Re: Default filehandles(was Re: command l... Peter Scott
- pascal-like "with" was Re: Def... David L. Nicol
- Re: pascal-like "with" was Re:... Dave Storrs
- Re: pascal-like "with" was Re:... Johan Vromans
- Re: pascal-like "with" was Re:... Dave Storrs
- Re: pascal-like "with" was Re:... John Porter