Skip to content

Commit 8fc0553

Browse files
committed
Fix used only once warning in gmagic.t.
1 parent 405fd65 commit 8fc0553

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/op/gmagic.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ chomp $c;
6262
expected_tie_calls(tied $c, 1, 2, 'chomping a ref');
6363

6464
{
65+
no warnings 'once'; # main::foo
6566
my $outfile = tempfile();
6667
open my $h, ">$outfile" or die "$0 cannot close $outfile: $!";
6768
binmode $h;

0 commit comments

Comments
 (0)