On Monday 29 October 2007 02:06, Chris Dolan wrote: > On Oct 28, 2007, at 6:12 PM, Scott McWhirter wrote: > > You could use an IO::Handle based object wrapped around STDOUT/STDERR. > > It doesn't really matter whether it's a glob filehandle or an > IO::Handle or a tied handle. The important part is the select() > which lets you avoid changing each and every print statement. > > [Of course, you get nailed when the code explicitly says "print > STDOUT ..."]
You can reopen STDOUT to something you have control over. Nadim.