The Weekly Challenge - 332

Saturday, Jul 26, 2025| Tags: Perl, Raku

TABLE OF CONTENTS


  1. HEADLINES

  2. SPONSOR

  3. RECAP

  4. PERL REVIEW

  5. RAKU REVIEW

  6. CHART

  7. NEW MEMBERS

  8. GUESTS

  9. TASK #1: Binary Date

10. TASK #2: Odd Letters


HEADLINES


Welcome to the Week #332 of The Weekly Challenge.

This is an early release the weekly challenge, as I mentioned last week about my planned short holiday trip with family.

I felt it was time to take a break as our last family trip was exactly two years ago, a three weeks visit to India.

This time, we’re exploring a different part of the world, as the reason behind our previous trip to India trip no longer exists.

I lost both my parents 2 years ago.

Thank you all for the kind messages, they truly mean a lot to me.

Some late contributions to Week #331 made it the best week of 2025 so far.

It’s 2:00 AM on Saturday and I’m releasing the next weekly challenge, two days early.

Any contributions from now on will be processed when I return on July 30, 2025.

Happy Hacking!!


Last 5 weeks mainstream contribution stats. Thank you Team PWC for your support and encouragements.

  Week      Perl       Raku       Blog   
   327       48       24       15   
   328       44       27       22   
   329       46       24       25   
   330       50       29       25   
   331       40       22       20   

Last 5 weeks guest contribution stats. Thank you each and every guest contributors for your time and efforts.

  Week      Guests       Contributions       Languages   
   327       14       36       13   
   328       11       31       11   
   329       15       46       15   
   330       12       62       19   
   331       10       52       17   

TOP 10 Guest Languages


Do you see your favourite language in the Top #10? If not then why not contribute regularly and make it to the top.

 1. Python     (3500)
 2. Rust       (954)
 3. Ruby       (809)
 4. Haskell    (795)
 5. Lua        (739)
 6. C++        (635)
 7. C          (594)
 8. JavaScript (572)
 9. Go         (515)
10. BQN        (452)

Blogs with Creative Title


1. The Last Buddy by Arne Sommer.

2. The Last Buddy by Jorg Sommrey.

3. String-ish by Luca Ferrari.

4. You have the last word, Buddy… by Packy Anderson.

5. Last word, buddy by Peter Campbell Smith.

6. The last word is my buddy by Simon Green.


GitHub Repository Stats


1. Commits: 44,544 (+81)

2. Pull Requests: 12,368 (+32)

3. Contributors: 262

4. Fork: 332

5. Stars: 195



With start of Week #268, we have a new sponsor Lance Wicks until the end of year 2025. Having said we are looking for more sponsors so that we can go back to weekly winner. If anyone interested please get in touch with us at perlweeklychallenge@yahoo.com. Thanks for your support in advance.


RECAP


Quick recap of The Weekly Challenge - 331 by Mohammad Sajid Anwar.


PERL REVIEW


If you missed any past reviews then please check out the collection.


RAKU REVIEW


If you missed any past reviews then please check out the collection.


CHART


Please take a look at the charts showing interesting data.

I would like to THANK every member of the team for their valuable suggestions. Please do share your experience with us.


NEW MEMBERS


Please find out How to contribute?, if you have any doubts.

Please try the excellent tool EZPWC created by respected member Saif Ahmed of Team PWC.


GUESTS


Please check out the guest contributions for the Week #331.

Please find past solutions by respected guests. Please share your creative solutions in other languages.


Task 1: Binary Date

Submitted by: Mohammad Sajid Anwar

You are given a date in the format YYYY-MM-DD.

Write a script to convert it into binary date.


Example 1

Input: $date = "2025-07-26"
Output: "11111101001-111-11010"

Example 2

Input: $date = "2000-02-02"
Output: "11111010000-10-10"

Example 3

Input: $date = "2024-12-31"
Output: "11111101000-1100-11111"

Task 2: Odd Letters

Submitted by: Mohammad Sajid Anwar

You are given a string.

Write a script to find out if each letter in the given string appeared odd number of times.


Example 1

Input: $str = "weekly"
Output: false

w: 1 time
e: 2 times
k: 1 time
l: 1 time
y: 1 time

The letter 'e' appeared 2 times i.e. even.

Example 2

Input: $str = "perl"
Output: true

Example 3

Input: $source = "challenge"
Output: false


Last date to submit the solution 23:59 (UK Time) Sunday 3rd August 2025.


SO WHAT DO YOU THINK ?

If you have any suggestions or ideas then please do share with us.

Contact with me