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-Tag: accepted/trunk/20130322.191538~20085 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fc04a10ca47a4a5713a39beb29dd8beb9d0f653;p=platform%2Fupstream%2Fperl.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);