On Fri, Jan 11, 2002 at 04:26:27AM -0500, Michael G Schwern wrote:
> As long ago promised, here's a patch to pull the logic out of
> t/run/kill_perl.t and make it into a t/test.pl function.
>
> This means its no longer necessary to pile segfault checks into
> t/run/kill_perl.t. They can be placed in the appropriate test file
> like so:
>
> kill_perl(<<PROG, <<EXPECT, {}, 'segfault in 5.6.1 within peep()' );
> @a = (1..9);
> @b = sort { @c = sort { @d = sort { 0 } @a; @d; } @a; } @a;
> print join '', @a, "\n";
> PROG
> 123456789
> EXPECT
>
> Give or take the fancy here-doc idiom.
>
> The name of the function and order of arguments are all up for
> discussion.
Thanks, applied.
About the name: I think it's an awful name... doesn't tell me at least
at all what it's for (except maybe for doubling as CORE::dump()...).
fresh_perl()? kamikaze_perl()?
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen