diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-12-02 02:23:28 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-12-02 02:23:28 +0000 |
commit | e8cf733a745ea6ffb715c9b16c2f8ba4ceffb726 (patch) | |
tree | a7e863f1d99e4dcc6da4d2e3f41375002969abc4 | |
parent | 6c8d78fb324d7709ee76d3711608bab5f83d721f (diff) | |
download | perl-e8cf733a745ea6ffb715c9b16c2f8ba4ceffb726.tar.gz |
#18221 broke t/op/eval.t
p4raw-id: //depot/perl@18222
-rwxr-xr-x | t/op/eval.t | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/t/op/eval.t b/t/op/eval.t index 79e219e97d..41c5ef3c48 100755 --- a/t/op/eval.t +++ b/t/op/eval.t @@ -242,12 +242,6 @@ print $@; eval q{}; print length($@) ? "not ok 46\t# \$\@ = '$@'\n" : "ok 46\n"; } -# [perl #9728] used to dump core -{ - $eval = eval 'sub { eval "sub { %S }" }'; - $eval->({}); - print "ok 47\n"; -} # DAPM Nov-2002. Perl should now capture the full lexical context during # evals. @@ -346,6 +340,12 @@ eval q{ }; fred5(); { my $yyy = 88; my $zzz = 99; fred5(); } -eval q{ my $yyy = 888; my $zzz = 999; fred5(); } +eval q{ my $yyy = 888; my $zzz = 999; fred5(); }; +# [perl #9728] used to dump core +{ + $eval = eval 'sub { eval "sub { %S }" }'; + $eval->({}); + print "ok 78\n"; +} |