Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Pod::To::Text] Make tables a bit more pleasant to look at

  • Loading branch information...
commit 89353cb748c0964ae2736ec5b0de6f5c3b0c57fd 1 parent 18f12d5
@tadzik tadzik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Pod/To/Text.pm
View
2  lib/Pod/To/Text.pm
@@ -59,7 +59,7 @@ sub table2text($pod) {
my $ret = $pod.caption // '';
for @rows -> $row {
for 0..($row.elems - 1) -> $i {
- $ret ~= $row[$i].fmt("%{@maxes[$i]}s") ~ " ";
+ $ret ~= $row[$i].fmt("%-{@maxes[$i]}s") ~ " ";
}
$ret ~= "\n";
}
Please sign in to comment.
Something went wrong with that request. Please try again.