From: Rafael Garcia-Suarez Date: Mon, 7 Dec 2009 16:51:16 +0000 (+0100) Subject: The deep arrays for testing ~~ were not deep enough X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1144115d25e28286dc02b44859da121ea1b93f1c;p=p5sagit%2Fp5-mst-13.2.git The deep arrays for testing ~~ were not deep enough Without commit 6bc991bfb3c34a5d286a1202fcc0d740d72dcee7, this test would now segfault. --- diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index 117fd4e..f8a073b 100644 --- a/t/op/smartmatch.t +++ b/t/op/smartmatch.t @@ -18,8 +18,8 @@ my @empty; my %empty; my @sparse; $sparse[2] = 2; -my $deep1 = []; push @$deep1, \$deep1; -my $deep2 = []; push @$deep2, \$deep2; +my $deep1 = []; push @$deep1, $deep1; +my $deep2 = []; push @$deep2, $deep2; my @nums = (1..10); tie my @tied_nums, 'Tie::StdArray';