]> git.vpit.fr Git - perl/modules/autovivification.git/blobdiff - samples/hash2array.pl
Regenerate t/21-array.t without extraneous spaces at the end of each line
[perl/modules/autovivification.git] / samples / hash2array.pl
index b26950a272eb343c311d2aea274e634965ff51e1..72cd2657ee2c1c689e85442bbca1f77b20d68330 100644 (file)
@@ -49,6 +49,7 @@ while (<$hash_t>) {
   }
   $buf .= $suffix;
   $buf =~ s/\s+/ /g;
+  $buf =~ s/\s+$//;
   print $array_t "$buf\n";
  }
 }