I need to redirect STDOUT and SDTERR to a predefined logfile.
I wrote this so far:
$log_full_name and open (STDOUT,$log_full_name) or warn can not redirect STDOUT to
$log_full_name : $!\n);
open (STDERR,STDOUT) or warn can not redirect STDERR : $!\n);
May I ask to review this code and suggest
Message-
From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 3:33 AM
To: [EMAIL PROTECTED]
Subject: Redirect STDOUT and SDTERR
I need to redirect STDOUT and SDTERR to a predefined logfile.
I wrote this so far:
$log_full_name and open (STDOUT,$log_full_name
:
I need to redirect STDOUT and SDTERR to a predefined logfile.
I wrote this so far:
$log_full_name and open (STDOUT,$log_full_name) or warn can not
redirect STDOUT to $log_full_name : $!\n); open (STDERR,STDOUT) or
warn can not redirect STDERR : $!\n);
May I ask to review this code