From: Father Chrysostomos Date: Sat, 26 Nov 2011 19:46:58 +0000 (-0800) Subject: Remove ‘no warnings deprecated’ from two .t’s X-Git-Tag: accepted/trunk/20130322.191538~1940 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97409e817d4758697aa4e2a92d287cb9a1d26b6a;p=platform%2Fupstream%2Fperl.git Remove ‘no warnings deprecated’ from two .t’s This was added to avoid the warning from $[, but these two test scripts no longer mention $[. --- diff --git a/t/op/each_array.t b/t/op/each_array.t index 6052805..95710e2 100644 --- a/t/op/each_array.t +++ b/t/op/each_array.t @@ -7,7 +7,6 @@ BEGIN { } use strict; use warnings; -no warnings 'deprecated'; use vars qw(@array @r $k $v $c); plan tests => 57; diff --git a/t/op/substr.t b/t/op/substr.t index 8005a28..2673fc7 100644 --- a/t/op/substr.t +++ b/t/op/substr.t @@ -7,7 +7,6 @@ BEGIN { @INC = '../lib'; } use warnings ; -no warnings 'deprecated'; $a = 'abcdefxyz'; $SIG{__WARN__} = sub {