[Israel.pm] catching segmentation faults and other crashes

Yona Shlomo yona at cs.technion.ac.il
Mon Nov 12 03:15:11 PST 2007


On Mon, 12 Nov 2007, Mikhael Goikhman wrote:

> Accouding to "perldoc -f system", positive $? after system() or qx()
> includes the system signal which the invoked command died with (something
> you probably are not interested in) plus 128 on segmentation fault
> (something you are interested in).

$? didn't do the trick for me for some reason.
I'll probe further and try to figure out why.

-- 
Shlomo Yona
yona at cs.technion.ac.il
http://yeda.cs.technion.ac.il/~yona/



More information about the Perl mailing list