in reply to How can I save error message to a file?

I actually changed the STDERR to a file handle, but somehow it didn't work and the errors didn't end up in the file.

One way to save the errors into a file is to save all your output(including errors) into a file. You can run your "perlprogram.pl" as "perlprogram.pl >>log.dat".

This is for unix environment. I'm not sure if it works for PCs.

  • Comment on Re: How can I save error message to a file?