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
    WindowsNT command shell offers redirection via  > and  |

      I have been using cygwin so long, I forgot what the native consol offers.

      Ted Young

      ($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)