diff options
Diffstat (limited to 'test/run_tests.pl')
-rw-r--r-- | test/run_tests.pl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl index b1084138dd..6550e0b272 100644 --- a/test/run_tests.pl +++ b/test/run_tests.pl @@ -16,9 +16,7 @@ BEGIN { use File::Spec::Functions qw/catdir catfile curdir abs2rel rel2abs/; use File::Basename; -if ($^O ne "VMS") { - use File::Glob qw/glob/; -} +use if $^O ne "VMS", 'File::Glob' => qw/glob/; use Test::Harness qw/runtests $switches/; my $srctop = $ENV{SRCTOP} || $ENV{TOP}; |