Peter Lemus wrote:
> 
> Hi folks, how can I send the output of my script to a
> errorlog and to the screen at the same time. It is
> sending it only to the errorlog.
> 
A simple stupid solution would be:
write all you want to print to a variable.
print the variable to screen and print the variable to STDERR.


Well, of course, TMTWTDI.
Perhaps there is a module, which allows to create a HANDLE
and writes everything written to this HANDLE to a list of predefined
other HANDLES.
After a short look to search.cpan.org,
I couldn't find such any.
But in my opinion, it shouldn't be so difficult to write such one.


Best Wishes,
Andrea

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

Reply via email to