in reply to STDOUT to multiple files

You could use IO::Tee in addition to select FILEHANDLE to select the Tee handle as the default handle.

Replies are listed 'Best First'.
Re^2: STDOUT to multiple files
by perl_lover (Chaplain) on Sep 13, 2006 at 06:55 UTC
    I can do with IO::Tee and with select. But this application is a light weight application which should not use any modules other than perl builtin functions and modules. Is there any other way to achieve this without using IO::Tee ?
      IO::Tee is a Pure Perl module with no non-core dependancies. Installing it is a simple as placing Tee.pm in a subdir named IO. What's the problem?