aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author冯昶 <fengchang@novel-supertv.com>2024-01-16 10:45:33 +0800
committer冯昶 <fengchang@novel-supertv.com>2024-01-16 10:45:33 +0800
commit9a9d34749e2ae074473a17d3c717bbf8157add89 (patch)
tree3d54ad8fc433cdb6657a1ef7c11ea80e3c8b2428
parent116ef5347bad7190e88ed2e8d40097f8978645bf (diff)
downloadperlweeklychallenge-club-9a9d34749e2ae074473a17d3c717bbf8157add89.tar.gz
perlweeklychallenge-club-9a9d34749e2ae074473a17d3c717bbf8157add89.tar.bz2
perlweeklychallenge-club-9a9d34749e2ae074473a17d3c717bbf8157add89.zip
fix
-rwxr-xr-xchallenge-249/feng-chang/raku/ch-2.raku2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-249/feng-chang/raku/ch-2.raku b/challenge-249/feng-chang/raku/ch-2.raku
index c0b436a5f8..5222f99897 100755
--- a/challenge-249/feng-chang/raku/ch-2.raku
+++ b/challenge-249/feng-chang/raku/ch-2.raku
@@ -1,6 +1,6 @@
#!/bin/env raku
-unit sub MAIN(Str:D $s where *.comb.all eq 'D'|'I');
+unit sub MAIN(Str:D $s where *.comb.all eq <D I>.any);
my @a = 0..$s.chars;
my @b = gather {