summaryrefslogtreecommitdiff
path: root/t/op/gv.t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-10-30 06:52:00 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-10-30 06:52:41 -0700
commit4a68a3205c84919dc30bb157c7d6074d463dfdf6 (patch)
treed55ecd2d4225ef5f4b066415684bde17173c17ef /t/op/gv.t
parentfb013ae23029450f3874e9501942705294119d14 (diff)
downloadperl-4a68a3205c84919dc30bb157c7d6074d463dfdf6.tar.gz
Suppress warning from gv.t
Diffstat (limited to 't/op/gv.t')
-rw-r--r--t/op/gv.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/gv.t b/t/op/gv.t
index 807d9b2fe2..f04bda0575 100644
--- a/t/op/gv.t
+++ b/t/op/gv.t
@@ -846,7 +846,7 @@ ok eval {
# These two crashed in 5.13.6. They were likewise fixed in 5.13.7.
ok eval {
sub greck;
- my $glob = \*phing::foo;
+ my $glob = do { no warnings "once"; \*phing::foo};
delete $::{"phing::"};
*$glob = *greck;
}, "Assigning a glob-with-sub to a glob that has lost its stash warks";