diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-08-06 12:18:13 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-08-06 12:18:13 +0000 |
commit | 9a4933c3f3585f9f2bcf1f67d3162a6cfa64f264 (patch) | |
tree | b7371d58795f937da17b874f1e3e55fbeeb4b2bc /t/harness | |
parent | fcf99ed44dc650ba48499b5fd6e385a04afd0979 (diff) | |
download | perl-9a4933c3f3585f9f2bcf1f67d3162a6cfa64f264.tar.gz |
Bring the joy of strict to t/harness.
p4raw-id: //depot/perl@34172
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,6 +12,7 @@ BEGIN { my $torture; # torture testing? use Test::Harness; +use strict; $Test::Harness::switches = ""; # Too much noise otherwise $Test::Harness::Verbose++ while @ARGV && $ARGV[0] eq '-v' && shift; @@ -26,7 +27,7 @@ if ($ARGV[0] && $ARGV[0] eq '-torture') { $ENV{PERL_CORE} = 1; #fudge DATA for now. -%datahandle = qw( +my %datahandle = qw( lib/bigint.t 1 lib/bigintpm.t 1 lib/bigfloat.t 1 @@ -45,7 +46,7 @@ foreach (keys %datahandle) { unlink "$_.t"; } -my @tests = (); +my (@tests, $re); # [.VMS]TEST.COM calls harness with empty arguments, so clean-up @ARGV @ARGV = grep $_ && length( $_ ) => @ARGV; |