Re: Author tests and IPC::System::Simple
On Tue, Dec 16, 2008 at 03:12:41PM +1100, Paul Fenwick wrote:
> If we're not using WCOREDUMP, then we face the disturbing possibility that
> we're generating a core dump, and ($? & 128) is false when that occurs.
This seems to be the case.
# perl -le 'system($^X, "-e", q/kill 6,$$; sleep 1/); print "version=$^V \$?=$? native=${^CHILD_ERROR_NATIVE}"'
gives
version=v5.10.0 $?=6 native=134
version=5.008008 $?=134 native=
while dumping core in both cases.
So it looks like a bug in Perl 5.10.0.
--
Niko Tyni ntyni@debian.org
Reply to: