in reply to STDERR and die
If you want to print the error in some other file then, use $SIG{__DIE__} handler. Inside that handler log the message in the file that you want to store the message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: STDERR and die
by xiaoyafeng (Deacon) on Jan 16, 2009 at 12:48 UTC |