aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerlMonk-Athanasius <PerlMonk.Athanasius@gmail.com>2024-09-29 22:15:59 +1000
committerPerlMonk-Athanasius <PerlMonk.Athanasius@gmail.com>2024-09-29 22:15:59 +1000
commitd7f8cc252462bac699dcf32d80224fe4ffc19e99 (patch)
treebb7531bfffaa3394722c322356dce8af841dfa5d
parent229a5d9eefb12fb51aba20f3bbd1b2c585be356a (diff)
downloadperlweeklychallenge-club-d7f8cc252462bac699dcf32d80224fe4ffc19e99.tar.gz
perlweeklychallenge-club-d7f8cc252462bac699dcf32d80224fe4ffc19e99.tar.bz2
perlweeklychallenge-club-d7f8cc252462bac699dcf32d80224fe4ffc19e99.zip
Perl & Raku solutions to Tasks 1 & 2 for Week 288
-rw-r--r--challenge-288/athanasius/perl/ch-2.pl3
-rw-r--r--challenge-288/athanasius/raku/ch-2.raku3
2 files changed, 4 insertions, 2 deletions
diff --git a/challenge-288/athanasius/perl/ch-2.pl b/challenge-288/athanasius/perl/ch-2.pl
index d1b6358c56..2d520dd368 100644
--- a/challenge-288/athanasius/perl/ch-2.pl
+++ b/challenge-288/athanasius/perl/ch-2.pl
@@ -75,7 +75,8 @@ Interface
---------
1. If no command-line arguments are given, the test suite is run. Otherwise:
2. A single string is entered on the command-line, e.g., "xxxo xooo xooo xxoo".
- This string comprises whitespace-separated rows; each row contains only the characters 'x' or 'o'. The matrix represented must be rectangular and not
+ This string comprises whitespace-separated rows; each row contains only the
+ characters 'x' or 'o'. The matrix represented must be rectangular and not
empty.
3. If $VERBOSE is set to a true value, the output is augmented with a matrix
diagram showing the different contiguous blocks found, and identifying the
diff --git a/challenge-288/athanasius/raku/ch-2.raku b/challenge-288/athanasius/raku/ch-2.raku
index 34f1a1d49d..49a4aff10d 100644
--- a/challenge-288/athanasius/raku/ch-2.raku
+++ b/challenge-288/athanasius/raku/ch-2.raku
@@ -75,7 +75,8 @@ Interface
---------
1. If no command-line arguments are given, the test suite is run. Otherwise:
2. A single string is entered on the command-line, e.g., "xxxo xooo xooo xxoo".
- This string comprises whitespace-separated rows; each row contains only the characters 'x' or 'o'. The matrix represented must be rectangular and not
+ This string comprises whitespace-separated rows; each row contains only the
+ characters 'x' or 'o'. The matrix represented must be rectangular and not
empty.
3. If VERBOSE is set to True, the output is augmented with a matrix diagram
showing the different contiguous blocks found, and identifying the largest.