projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7a31520
)
Initialization is nice.
Jarkko Hietaniemi [Sat, 16 Jun 2001 17:50:43 +0000 (17:50 +0000)]
p4raw-id: //depot/perl@10635
lib/Test/Harness.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Test/Harness.pm
b/lib/Test/Harness.pm
index
5444a40
..
8966ca6
100644
(file)
--- a/
lib/Test/Harness.pm
+++ b/
lib/Test/Harness.pm
@@
-395,7
+395,7
@@
sub _run_all_tests {
my @dir_files = _globdir $Files_In_Dir if defined $Files_In_Dir;
my $t_start = new Benchmark;
- my $maxlen;
+ my $maxlen = 0;
foreach (@tests) {
my $len = length;
$maxlen = $len if $len > $maxlen;