Perl Weekly Challenge - 011

Monday, Jun 3, 2019| Tags: Perl, Raku

I noticed regular flow of new members to the team of Perl Weekly Challenge. Some of them quite actively take part in the challenge as well as blog about it. Some while on vacation, didn’t miss to take on weekly challenge. I remember, one member, submit the solution from her sickbed. I am gratefull to each of them for their support. I am equally thankfull to those who take time and blog about their solution. You guys are doing great service to the community in general. Keep the movement going and please do spread the word.


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 their valuable suggestions. Please do share your experience with us. Good luck for the weekly challenge and enjoy.


  1. Kevin Colyer, Raku hacker from Maidenhead, England.

  2. Donald Hunter, from Glasgow, Scotland. Raku user and contributor. Perl user for 25+ years.

  3. Martin Barth (UFOBAT) Perl / Raku hacker from Nürnberg, Germany.

Challenge #1

Write a script that computes the equal point in the Fahrenheit and Celsius scales, knowing that the freezing point of water is 32 °F and 0 °C, and that the boiling point of water is 212 °F and 100 °C. This challenge was proposed by Laurent Rosenfeld.

Challenge #2

Write a script to create an Indentity Matrix for the given size. For example, if the size is 4, then create Identity Matrix 4x4. For more information about Indentity Matrix, please read the wiki page.

Challenge #3

Using Open Weather Map API, write a script to fetch the current weather for an arbitrary city. Note that you will need to sign up for Open Weather Map’s free tier and then wait a couple hours before your API key will be valid. This challenge was proposed by Joelle Maslak. The API challenge is optional but would love to see your solution.

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


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

Contact with me