summaryrefslogtreecommitdiff
path: root/t/op
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2018-10-12 14:26:09 -0500
committerCraig A. Berry <craigberry@mac.com>2018-10-12 14:37:18 -0500
commit8fc05532aec097a3733b92fbb2cabb1528daa5c4 (patch)
tree44e1a624b41ca2163dbec103e960b9cf44f68920 /t/op
parent405fd6516c5ab73dfaab6dc3295a47b91545f65d (diff)
downloadperl-8fc05532aec097a3733b92fbb2cabb1528daa5c4.tar.gz
Fix used only once warning in gmagic.t.
Diffstat (limited to 't/op')
-rw-r--r--t/op/gmagic.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/op/gmagic.t b/t/op/gmagic.t
index 0ed575525f..0c859550a7 100644
--- a/t/op/gmagic.t
+++ b/t/op/gmagic.t
@@ -62,6 +62,7 @@ chomp $c;
expected_tie_calls(tied $c, 1, 2, 'chomping a ref');
{
+ no warnings 'once'; # main::foo
my $outfile = tempfile();
open my $h, ">$outfile" or die "$0 cannot close $outfile: $!";
binmode $h;