in reply to Re: eval error
in thread eval error

I was hoping that the reopen would allow STDERR to go to both the logfile and screen
This actually works, although from subsequent comments I suspect it's not perhaps the best way of doing things
I tried looking at the value $@ but this didn't help in this case
So the question is how do I get STDERR to go to both screen and logfile simultaneously ?

Replies are listed 'Best First'.
Re^3: eval error
by Roy Johnson (Monsignor) on Oct 19, 2005 at 13:23 UTC
    I think you want to look at IO::Tee

    Caution: Contents may have been coded under pressure.