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";
print $_ "Here I come to save the day!\n" for ($PERL::STDOUT, $myfh);
And again, if you want to print different stuff to different
filehandles, you know how to use the
print FILEHANDLE LIST;
version of print.
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]
- Re: command line option: $|++ Nathan Wiger
- 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
