Perl Monk, Perl Meditation | |
PerlMonks |
Re: Binary search the cause of a Segmentation Faultby Athanasius (Archbishop) |
on Apr 02, 2013 at 04:39 UTC ( [id://1026579]=note: print w/replies, xml ) | Need Help?? |
How do I robustly and properly check in Perl, for a segfault that occured upon running a child process ? From perlvar under “$CHILD_ERROR”: Thus, the exit value of the subprocess is really ($? >> 8), and $? & 127 gives which signal, if any, the process died from, and $? & 128 reports whether there was a core dump. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|