summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-02 14:47:34 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-07-05 18:14:03 -0700
commitce9d5336091a06a3120c55196ae7a0e4309b4ab1 (patch)
treed6be528520e8ab16faf54903e72e65fef34a72d4 /t
parentca8ffed2a344aa5fb2f57f558b99f124fc128a98 (diff)
downloadperl-ce9d5336091a06a3120c55196ae7a0e4309b4ab1.tar.gz
do.t: Load test.pl at BEGIN time
so that parentheses can be omitted.
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';