RE: how does one redirect both STDERR and STDOUT to $file?

2001-07-17 Thread Brian
mber - The only difference between an insane man and a genius is his jacket. > so how does one redirect both STDERR and STDOUT to $file, do > some stuff, and > then get stderr and stdout back and playing nice? > > I'm trying: > > # if $LogLogfile="YES&quo

how does one redirect both STDERR and STDOUT to $file?

2001-07-17 Thread Matt Lyon
so how does one redirect both STDERR and STDOUT to $file, do some stuff, and then get stderr and stdout back and playing nice? I'm trying: # if $LogLogfile="YES" if ( $LogLogfile eq "YES" ) { print "Logging stuff to log file...\n";