From: Dave Mitchell Date: Tue, 19 Jul 2005 01:05:18 +0000 (+0000) Subject: the "local @foo with $#foo" tests are no longer TODO X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2fc04a10ca47a4a5713a39beb29dd8beb9d0f653;p=p5sagit%2Fp5-mst-13.2.git the "local @foo with $#foo" tests are no longer TODO p4raw-id: //depot/perl@25176 --- diff --git a/t/op/array.t b/t/op/array.t index 698d4dc..6461a43 100755 --- a/t/op/array.t +++ b/t/op/array.t @@ -308,8 +308,6 @@ sub test_arylen { my $ref = \@array; - local $TODO = '$#foo semantics with local @foo not fixed yet'; - my $inner; { local @array; @@ -330,7 +328,7 @@ sub test_arylen { is (scalar @array, 7); is ($$outer, 6); - is ($$inner, 0, "This is emergent behaviour"); + is ($$inner, undef, "orphaned $#foo is always undef"); is (scalar @array, 7); is ($$outer, 6);