Fixes problems when the string to print contains '$'

This commit is contained in:
Ronaldo Mercado
2010-05-27 16:26:43 +01:00
+1 -1
View File
@@ -286,7 +286,7 @@ sub printField {
$col = 0;
}
print sprintf("$outStr%*s",$pad," ");
print $outStr . sprintf("%*s",$pad," ");
$col = $col + $wide;
return($col);