Perl Weekly Challenge - 009

Monday, May 20, 2019| Tags: Perl, Raku

The best part of Perl Weekly Challenge is that you are free to take a break for as long as you want. Even then you are encourged to take a look at others solution and enjoy. I personally recommend you should read the blog by the elite members. They are invaluable source of knowledge. Thanks to all the members for participating and blogging about it. Enjoy the challenge.


Here is the recap of last week challenge.


Please take a look at the charts showing interesting data.

I would like to thank everyone for your valuable suggestions. Please do share your experience with us. Good luck for the weekly challenge, enjoy.


  1. Pavel Starikov, Perl hacker and Russian student from MEPhi university (Moscow).

  2. Yozen Hernandez, Perl hacker and currently doing PhD in Bioinformatics from Boston University.

Challenge #1

Write a script that finds the first square number that has at least 5 distinct digits. This was proposed by Laurent Rosenfeld.

Challenge #2

Write a script to perform different types of ranking as described below:

1. Standard Ranking (1224): Items that compare equal receive the same ranking number, and then a gap is left in the ranking numbers.
2. Modified Ranking (1334): It is done by leaving the gaps in the ranking numbers before the sets of equal-ranking items.
3. Dense Ranking    (1223): Items that compare equally receive the same ranking number, and the next item(s) receive the immediately following ranking number.

For more information, please refer to wiki page.

Challenge #3

Send email using Sparkpost API. For more information, visit the official page. This challenge was proposed by Gabor Szabo. The API challenge is optional and would love to see your solution.

Last date to submit the solution 6 pm (UK Time) Sunday 26th May 2019.


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

Contact with me