From 6e432f9807c51d7c33d50ddc65cbfb0ca6c479d4 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 8 Sep 2013 13:53:23 -0700 Subject: [PATCH] Suppress a warning in kvhslice.t MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The bugginess of the ‘Scalar value better written as...’ warning applies to %new{silce} syntax, too. --- t/op/kvhslice.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/op/kvhslice.t b/t/op/kvhslice.t index 2b34497..9d23a95 100644 --- a/t/op/kvhslice.t +++ b/t/op/kvhslice.t @@ -79,6 +79,7 @@ plan tests => 39; # ref of a slice produces list { + no warnings 'syntax'; my %h = map { $_ => uc $_ } 'a'..'z'; my @a = \%h{ qw'c d e' }; -- 2.7.4