aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(" ");
}
}