Perl-Sensitive Sunglasses | |
PerlMonks |
Capture Error Messages to a File? How?by nickcave25 (Acolyte) |
on Feb 09, 2000 at 08:59 UTC ( [id://3238]=perlquestion: print w/replies, xml ) | Need Help?? |
nickcave25 has asked for the wisdom of the Perl Monks concerning the following question:
I know the way to redirect the output of, say, a perl program to a textfile as follows: %perl5 -w perlprog.cgi >> textfile.txt But how do I redirect to a textfile (for later review) the many error messages that often cascade across my screen during the debugging process (lost for ever for a lack of a ``scrollup'' facility within my simple telnet client) never to be seen again. Any suggestions? TIA!
Back to
Seekers of Perl Wisdom
|
|