New improved test harness
[p5sagit/p5-mst-13.2.git] / lib / Dumpvalue.pm
index 617494a..c8282cf 100644 (file)
@@ -1,6 +1,7 @@
 use 5.005_64;                  # for (defined ref) and $#$v and our
 package Dumpvalue;
 use strict;
+our $VERSION = '1.00';
 our(%address, $stab, @stab, %stab, %subs);
 
 # translate control chars to ^X - Randal Schwartz
@@ -228,7 +229,7 @@ sub unwrap {
       if ($#$v >= 0) {
        $short = $sp . "0..$#{$v}  " .
          join(" ", 
-              map {exists $v->[$_] ? $self->stringify $v->[$_] : "empty"} ($[..$tArrayDepth)
+              map {exists $v->[$_] ? $self->stringify($v->[$_]) : "empty"} ($[..$tArrayDepth)
              ) . "$shortmore";
       } else {
        $short = $sp . "empty array";