Re: sending output to file and terminal
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Wed, 28 Mar 2007 23:17:13 -0700
lakshmi priya wrote:
Hi all,
Hello,
I have written a perl script that prints the output to the terminal. I
also want to write the output to a file. So, what I have done is write the
output to a file and then print the file. I was just wondering if there any
way to write to both - terminal and file at the same time?
perldoc -q "How do I print to more than one file at once"
John
--
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order. -- Larry Wall
.
- Follow-Ups:
- RE: sending output to file and terminal (in Unix use "tee")
- From: Matthew B Tilley
- RE: sending output to file and terminal (in Unix use "tee")
- References:
- sending output to file and terminal
- From: Lakshmi Priya
- sending output to file and terminal
- Prev by Date: Re: sending output to file and terminal
- Next by Date: perl -s and use strict
- Previous by thread: Re: sending output to file and terminal
- Next by thread: RE: sending output to file and terminal (in Unix use "tee")
- Index(es):
Relevant Pages
|
|