From 140d27a472ded936ea3bf0616e64be64bc105edd Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 13 Oct 2009 15:33:16 +0100 Subject: defined @array and defined %hash need no warnings 'deprecated'; --- t/op/undef.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/op/undef.t b/t/op/undef.t index 8bfecab9e4..7afaf9cc93 100644 --- a/t/op/undef.t +++ b/t/op/undef.t @@ -72,6 +72,7 @@ like $@, qr/^Modification of a read/; { require Tie::Hash; tie my %foo, 'Tie::StdHash'; + no warnings 'deprecated'; ok defined %foo; %foo = ( a => 1 ); ok defined %foo; @@ -80,6 +81,7 @@ like $@, qr/^Modification of a read/; { require Tie::Array; tie my @foo, 'Tie::StdArray'; + no warnings 'deprecated'; ok defined @foo; @foo = ( a => 1 ); ok defined @foo; -- cgit v1.2.1