in reply to eval error

What are you expecting your reopen of STDERR to do?

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: eval error
by Anonymous Monk on Oct 19, 2005 at 08:11 UTC
    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 ?
      I think you want to look at IO::Tee

      Caution: Contents may have been coded under pressure.