projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
112bf88
)
Suppress a warning in kvhslice.t
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 8 Sep 2013 20:53:23 +0000
(13:53 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 13 Sep 2013 08:25:35 +0000
(
01:25
-0700)
The bugginess of the ‘Scalar value better written as...’ warning
applies to %new{silce} syntax, too.
t/op/kvhslice.t
patch
|
blob
|
history
diff --git
a/t/op/kvhslice.t
b/t/op/kvhslice.t
index
2b34497
..
9d23a95
100644
(file)
--- 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' };