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]

Reply via email to