in reply to Binary search the cause of a Segmentation Fault (searching automatically the cause of a segfault)

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,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,