From 2fc04a10ca47a4a5713a39beb29dd8beb9d0f653 Mon Sep 17 00:00:00 2001 From: Dave Mitchell Date: Tue, 19 Jul 2005 01:05:18 +0000 Subject: [PATCH] the "local @foo with $#foo" tests are no longer TODO p4raw-id: //depot/perl@25176 --- t/op/array.t | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.7.4