aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark <53903062+andemark@users.noreply.github.com>2024-01-01 06:42:44 +0000
committerMark <53903062+andemark@users.noreply.github.com>2024-01-01 06:42:44 +0000
commitfae0bb98236074e65526534d47da7baab42b04a1 (patch)
tree9022983ba020d46bcaeeb9bad2cc9108e68135c6
parent610dc0c0c2c278fc1d4f941467b3861c8e80920f (diff)
downloadperlweeklychallenge-club-fae0bb98236074e65526534d47da7baab42b04a1.tar.gz
perlweeklychallenge-club-fae0bb98236074e65526534d47da7baab42b04a1.tar.bz2
perlweeklychallenge-club-fae0bb98236074e65526534d47da7baab42b04a1.zip
Challenge 250 Solutions (Raku)
-rw-r--r--challenge-250/mark-anderson/raku/blog-2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-250/mark-anderson/raku/blog-2.md b/challenge-250/mark-anderson/raku/blog-2.md
index d71acdc686..d2fa68fd42 100644
--- a/challenge-250/mark-anderson/raku/blog-2.md
+++ b/challenge-250/mark-anderson/raku/blog-2.md
@@ -41,7 +41,7 @@ These return values are returned from map as a [Seq](https://docs.raku.org/type/
Finally, we use [max](https://docs.raku.org/type/Any#routine_max) to return the max element in that sequence.
-Note the [//](https://docs.raku.org/language/5to6-perlop#Logical_Defined-Or) operator instead of the [||](https://docs.raku.org/language/operators#infix_||) operator. The // operator tests if the result from parse-base is defined. || tests whether the value is True. If we used || then our map block would incorrectly return False for any string that evaluates to 0 such as "000".parse-base(10) because 0 evaluates to False in a [Boolean context](https://docs.raku.org/language/contexts#Boolean).
+Note the [//](https://docs.raku.org/language/5to6-perlop#Logical_Defined-Or) operator instead of the [||](https://docs.raku.org/language/operators#infix_||) operator. The // operator tests if the result from parse-base is defined. || tests whether the value is True. If we used || then our map block would incorrectly return the character count for any string that evaluates to 0 such as "000".parse-base(10) because 0 evaluates to False in a [Boolean context](https://docs.raku.org/language/contexts#Boolean).
Putting it all together: