good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
want to capture my script compilation erros ( or other errors ) to a log file To capture compilation errors, redirect the STDERR of the invoking shell to the file as in my previous post:
This also captures runtime errors thrown out STDERR. If you want to only capture fatal runtime errors, you might handle these through a DIE handler. However, this handler isn't setup if the compilation fails in the first place.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In reply to Re^3: how i capture a script error to a file ?
by shmem
|
|