This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d6edb
)
As the test is about the parser, not actually running the code, better
author
Nicholas Clark
<nick@ccl4.org>
Sat, 3 Mar 2007 15:28:39 +0000
(15:28 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 3 Mar 2007 15:28:39 +0000
(15:28 +0000)
to avoid running <STDOUT> rather than run it with warnings disabled.
p4raw-id: //depot/perl@30452
t/op/gv.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/gv.t
b/t/op/gv.t
index
b5f63be
..
bca84e7
100755
(executable)
--- a/
t/op/gv.t
+++ b/
t/op/gv.t
@@
-478,7
+478,7
@@
foreach my $value ([1,2,3], {1=>2}, *STDOUT{IO}, \&ok, *STDOUT{FORMAT}) {
"Can't trip up general keyword overloading");
$CORE::GLOBAL::{"readline"}=[];
- eval "
no warnings; <STDOUT>
";
+ eval "
<STDOUT> if 0
";
is($@, '', "Can't trip up readline overloading");
$CORE::GLOBAL::{"readpipe"}=[];