localisation of $[ is deprecated, so needs no warnings 'deprecated';
authorNicholas Clark <nick@ccl4.org>
Tue, 13 Oct 2009 14:32:03 +0000 (15:32 +0100)
committerJesse Vincent <jesse@bestpractical.com>
Fri, 16 Oct 2009 16:30:16 +0000 (12:30 -0400)
t/op/local.t

index 211213b..db9912a 100644 (file)
@@ -623,6 +623,7 @@ is($@, "");
 
 # RT #4342 Special local() behavior for $[
 {
+    no warnings 'deprecated';
     local $[ = 1;
     ok(1 == $[, 'lexcical scope of local $[');
     f();