aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoelle Maslak <jmaslak@antelope.net>2019-04-14 14:47:09 -0500
committerJoelle Maslak <jmaslak@antelope.net>2019-04-14 14:47:09 -0500
commitb600c7a2226089c8f347f91769c63f9d9460cc68 (patch)
tree6896e41c8d06739f01d35e98be67d42e68410e47
parentd0ae7967da53c34f3715f54ef62951eb07b42dad (diff)
downloadperlweeklychallenge-club-b600c7a2226089c8f347f91769c63f9d9460cc68.tar.gz
perlweeklychallenge-club-b600c7a2226089c8f347f91769c63f9d9460cc68.tar.bz2
perlweeklychallenge-club-b600c7a2226089c8f347f91769c63f9d9460cc68.zip
Get rid of extra spaces
-rwxr-xr-xchallenge-003/joelle-maslak/perl6/ch-2.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-003/joelle-maslak/perl6/ch-2.p6 b/challenge-003/joelle-maslak/perl6/ch-2.p6
index 3200dfc2bf..e45424fc44 100755
--- a/challenge-003/joelle-maslak/perl6/ch-2.p6
+++ b/challenge-003/joelle-maslak/perl6/ch-2.p6
@@ -16,7 +16,7 @@ sub MAIN(Int:D $rows where $rows ≥ 3) {
}
@rows.push: @row;
- say (" " x $rows - $i) ~ @row.map( { $^a.fmt("%3d") } ).join(" ");
+ say (" " x $rows - $i - 1) ~ @row.map( { $^a.fmt("%3d") } ).join(" ");
}
}