@manwar Again, #RakuLang offers some #OneLiner solutions to the challenge:

Count Prefixes: ```
@array.map({$str.starts-with($_)}).sum
```

Valid Times: ```
([X~] .comb.map({ /\?/ ?? (0..9) !! $_})).grep(/^$<h>=[\d\d]\:$<m>=[\d\d]$ <?{ $<h> < 24 && $<m> < 60 }>/).elems
```

@manwar Again, #RakuLang offers some #OneLiner solutions to the challenge:

Alphabet Index Digit Sum: ```
( $str.trans(['a'..'z'] => [1..26]), *.comb.sum ... * )[$k]
```

Valid Token Counter: ```
.words.grep(/^ <:Ll>+ [ \- <:Ll>+ ]? <[,.!]>? $/).elems
```

2026.12 Ich bin ein Berliner

https://programming.dev/post/47670873

2026.12 Ich bin ein Berliner - programming.dev

Lemmy

The slides for my talk "Getting FIT with Perl" at last week's German Perl/Raku Workshop in Berlin are now available online:

https://peateasea.de/talks/

#gpw2026 #perl #rakulang

Talks

Software, maths, physics, and notes to my future self

P.T.C.
The Weekly Challenge - 366 #Perl #RakuLang
Task 1: Count Prefixes
Task 2: Valid Times
https://theweeklychallenge.org/blog/perl-weekly-challenge-366
The Weekly Challenge - 366

The Weekly Challenge - 366

The Weekly Challenge
The Weekly Challenge 365: Alphabet Digit Counter Token

I’ve been doing the Weekly Challenges. The latest involved string mangling and regular expressions. (Note that this ends today.)

RogerBW's Blog

Equinox 2026 (Raku, ChatGPT, Google Charts, Mathematica, ZMQ) - Anton Antonov

https://programming.dev/post/47563283

Equinox 2026 (Raku, ChatGPT, Google Charts, Mathematica, ZMQ) - Anton Antonov - programming.dev

Lemmy

#rakulang goes post-quantum! I added a *toy* implementation of the ML-DSA digital signature algorithm to the Obscure #cryptography library https://github.com/gdncc/Obscure

Raku community(?) in 2026 - how my permanent ban came to be - Marton Polgar

https://programming.dev/post/47337716

Raku community(?) in 2026 - how my permanent ban came to be - Marton Polgar - programming.dev

Lemmy

2026.11 Pi Day 2026 - programming.dev

Lemmy