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:
536ac39
)
incfilter.t: squelch warning
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 9 Aug 2013 15:43:16 +0000
(08:43 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 11 Aug 2013 14:50:22 +0000
(07:50 -0700)
t/op/incfilter.t
patch
|
blob
|
history
diff --git
a/t/op/incfilter.t
b/t/op/incfilter.t
index
767aa12
..
c690970
100644
(file)
--- a/
t/op/incfilter.t
+++ b/
t/op/incfilter.t
@@
-241,7
+241,7
@@
is $origlines[0], "1\n+\n2\n", 'ink filters do not mangle cow buffers';
do \&generator or die;
like ${$::{the_array}}, qr/^ARRAY\(0x.*\)\z/,
'setting $_ to ref in inc filter';
-@lines = ('$::the_array = "',
*foo
, '"');
+@lines = ('$::the_array = "',
do { no warnings 'once'; *foo}
, '"');
do \&generator or die;
is ${$::{the_array}}, "*main::foo", 'setting $_ to glob in inc filter';