On Tue, Nov 30, 2010 at 6:28 PM, David Christensen <
dpchr...@holgerdanske.com> wrote:

> Sooraj S wrote:
> > Can i redirect the output to a file as well as stdout at the same
> > time...i dont want to use tee command..i want this to be done in my
> > perl program itself...
>
> Jim Gibson wrote:
>
>> Install and use the File::Tee module from CPAN:
>>
>
> I researched the various options a while back and settled on Capture::Tiny.
>

Since this looks like a log file, you might also consider Log::Log4perl.

-- 
Robert Wohlfarth

Reply via email to