The value returned by system/$? is from the OS. If the OS says the child segfaulted, there's not much Perl can do but to trust it.
I find it very unlikely that the OS would say it segfaulted if it didn't.
Update: Not on Windows, I suppose. Windows has larger exit codes that are squished into the unix format. Are you on Windows? Maybe there's a bug in the emulation.
In reply to Re: segmentation fault for perl
by ikegami
in thread segmentation fault for perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |