Once you open a file... open(INPUT, "+>file"); *STDERR = *INPUT;
should do it I think -----Original Message----- From: Russell Boyd [mailto:[EMAIL PROTECTED]] Sent: 04 February 2002 22:56 To: [EMAIL PROTECTED] Subject: STDERR How do you put STDERR to a file for the duration of the perl program and not having to specify every print statement? and then reassigned it to normal console when you done. Thank you -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]