summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/op/do.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/op/do.t b/t/op/do.t
index c5a5905528..1d67a3e87c 100644
--- a/t/op/do.t
+++ b/t/op/do.t
@@ -1,6 +1,8 @@
#!./perl -w
-require './test.pl';
+BEGIN {
+ require './test.pl';
+}
use strict;
no warnings 'void';