From: Peter Lemus <[EMAIL PROTECTED]>
> I have a scripts that prints to a log file.  I would
> like to receive all messages on my terminal also when
> the script runs.   Please enlight me...thanks.

You may want to look at IO::Tee (on CPAN) or Local::TeeOutput ( 
http://Jenda.Krynicky.cz/#Local::TeeOutput )

This will allow you to keep the print statements intact but to print 
to two filehandles with one statement.

Jenda
=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to