From: Nicholas Clark Date: Tue, 13 Oct 2009 14:33:16 +0000 (+0100) Subject: defined @array and defined %hash need no warnings 'deprecated'; X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=140d27a472ded936ea3bf0616e64be64bc105edd;p=p5sagit%2Fp5-mst-13.2.git defined @array and defined %hash need no warnings 'deprecated'; --- diff --git a/t/op/undef.t b/t/op/undef.t index 8bfecab..7afaf9c 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;