On Mon, Jul 15, 2002 at 05:17:35PM +0200, Bartlomiej Frackiewicz wrote:
> 
> sorry for my offtopic posting but i haven't found a general perl mailinglist (with 
>some traffic).
> 
> i want to spy my mod_perl/batch programs, in some case they write an error to STDERR 
>i want to send an email to me.

You can check Tie::STDERR, it's available on any good CPAN mirror.
We've been using it (or its newer versions) for a couple of years.
Making the tied filehandle work in mod_perl requires also working with
cleanup handlers, otherwise you will not get the emails as you expect.

If the version of Tie::STDERR on CPAN doesn't work for you, write me,
I might find some time to make distribution from the code we use here.
Of course, YMMV, so you might only use the code as an inspiration.

Yours,

-- 
------------------------------------------------------------------------
 Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/
      ... all of these signs saying sorry but we're closed ...
------------------------------------------------------------------------

Reply via email to