Subject: | wantarray is now boolean |
Change 33022 in blead changes wantarray to return a boolean instead of a
number.
The attached patch fixes a test that the above change breaks.
Subject: | dst.patch |
--- t/01-basic.t
+++ t/01-basic.t
@@ -46,7 +46,7 @@
is( $f[0]->hasargs, 1, "First frame hasargs should be true" );
- is( $f[0]->wantarray, 0,
+ ok(! $f[0]->wantarray,
"First frame wantarray should be false" );
my $trace_text = <<"EOF";