aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Ferrari <fluca1978@gmail.com>2020-07-27 11:01:30 +0200
committerLuca Ferrari <fluca1978@gmail.com>2020-07-27 11:01:30 +0200
commit2185e9969ea009568273bfa2a2e3603b06387631 (patch)
tree436fc4eb00202deec92c321214ffc36663626d44
parent521cdfc3f64e3bb4959e445aa6e3352d0cb86b75 (diff)
downloadperlweeklychallenge-club-2185e9969ea009568273bfa2a2e3603b06387631.tar.gz
perlweeklychallenge-club-2185e9969ea009568273bfa2a2e3603b06387631.tar.bz2
perlweeklychallenge-club-2185e9969ea009568273bfa2a2e3603b06387631.zip
Uniform output of the results for task 1.
-rw-r--r--challenge-071/luca-ferrari/raku/ch-1.p64
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-071/luca-ferrari/raku/ch-1.p6 b/challenge-071/luca-ferrari/raku/ch-1.p6
index 5c32e33fa5..48f0e1e993 100644
--- a/challenge-071/luca-ferrari/raku/ch-1.p6
+++ b/challenge-071/luca-ferrari/raku/ch-1.p6
@@ -20,6 +20,6 @@ sub MAIN( Int $N where { $N > 1 } ) {
|| ( $neighbour-right && $current > $neighbour-right );
}
- @array.say;
- @peak.say;
+ "Array: { @array }".say;
+ "Peak: { @peak }".say;
}