Re: sending output to file and terminal
- From: laddu11@xxxxxxxxx (Lakshmi Priya)
- Date: Thu, 29 Mar 2007 12:11:52 +0530
Hi,
Thanks for your prompt reply, I have no idea how to use perl modules.
Could you please help.
I tried using
use IO::Tee;
use IO::Handle;
but i got an error saying
Can't locate IO/Tee.pm in @INC (....)
please help....
On 3/29/07, Boga Srinivas <bseenu@xxxxxxxxxxxxx> wrote:
Hi lakshmi,
I think we can use the "Tee" module for that.
http://search.cpan.org/~dagolden/Tee-0.13/lib/Tee.pod
-srini
lakshmi priya wrote:
> Hi all,
>
> 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?
>
> With regards,
> laddu
>
- Follow-Ups:
- Re: sending output to file and terminal
- From: Boga Srinivas
- Re: sending output to file and terminal
- From: Jason Novinger
- Re: sending output to file and terminal
- References:
- sending output to file and terminal
- From: Lakshmi Priya
- Re: sending output to file and terminal
- From: Boga Srinivas
- sending output to file and terminal
- Prev by Date: Re: perl -s and use strict
- Next by Date: RE: numeric and string conversions
- Previous by thread: Re: sending output to file and terminal
- Next by thread: Re: sending output to file and terminal
- Index(es):