Re: redirecting STDERR with IO::Tee

2009-06-25 Thread Jenda Krynicky
Date sent: Mon, 22 Jun 2009 10:53:06 -0700 From: pa...@compugenic.com To: beginners@perl.org Subject:redirecting STDERR with IO::Tee > I have a script which runs mostly via a cron job and sometimes > interactively. I woul

Re: redirecting STDERR with IO::Tee

2009-06-24 Thread pablo
On Wed, Jun 24, 2009 at 05:52:36PM +0800, Jeff Pang wrote: > 2009/6/23 : > > I have a script which runs mostly via a cron job and sometimes > > interactively.  I would like STDERR to automatically print to both the > > console and to a logfile simultaneously. > > Hi, > > What causes writting

Re: redirecting STDERR with IO::Tee

2009-06-24 Thread Jeff Pang
2009/6/23 : > I have a script which runs mostly via a cron job and sometimes interactively. >  I would like STDERR to automatically print to both the console and to a > logfile simultaneously. > > Right now I've gotten as far as merging both file handles with IO::Tee but > I'm not sure if I'm h

redirecting STDERR with IO::Tee

2009-06-22 Thread pablo
I have a script which runs mostly via a cron job and sometimes interactively. I would like STDERR to automatically print to both the console and to a logfile simultaneously. Right now I've gotten as far as merging both file handles with IO::Tee but I'm not sure if I'm heading down the right p