in reply to Logfile for Error Messages
Hi,
If you are running under a shell that does not offer redirection (e.g. Windows Command), then you can also do this:
BEGIN { open STDERR, ">>somefile.txt"; # use > for overwrite, >> for appe +nd }
Ted Young
($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Logfile for Error Messages
by BUU (Prior) on Dec 04, 2004 at 05:19 UTC | |
by TedYoung (Deacon) on Dec 06, 2004 at 21:20 UTC |