However if you want to direct STDERR to STDOUT (the output from the perl prog) then do the following:jamie@lillith ~ $ perl -w perlprog.cgi >> textfile.txt 2> logfile
jamie@lillith ~ $ perl -w perlprog.cgi > logfile 2>&1
In reply to Re: Capture Error Messages to a File? How?
by Anonymous Monk
in thread Capture Error Messages to a File? How?
by nickcave25
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |