Perl Weekly Challenge - 045

Wednesday, Jan 29, 2020| Tags: Perl, Raku


Last week had been the toughest week for me. My dad is now back home and doing well. Thanks each and every person for the best wishes. I know everything is messed up at the moment. I came back from India with throat infection and really bad cough. I am not fully recovered yet but still improving day-by-day. I would like to thank Ryan Thompson for doing Perl Review in my absence. There is going to be a short pause on Raku review, please bear with us, unless someone from the team volunteer to take this challenge for a short period.

Last but not the least, we woud like to thank each and every member for their support and encouragement.


Quick recap of the “Perl Weekly Challenge - 044” by Mohammad S Anwar.


Please checkout Perl** solutions review of the “Perl Weekly Challenge - 043”** by Ryan Thompson.

If you missed any past reviews then please checkout the collection.


If you missed any past reviews then please checkout the collection.


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.


Cheok-Yin Fung, a Perl hacker from Hong Kong and Jan Ole Kraft, a Raku hacker, joined the team last week. Check out current team members.

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


Darren Bottin shared solution to Task #1 Prolog.

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


Square Secret Code

The square secret code mechanism first removes any space from the original message. Then it lays down the message in a row of 8 columns. The coded message is then obtained by reading down the columns going left to right.

For example, the message is “The quick brown fox jumps over the lazy dog”.

Then the message would be laid out as below:


The code message would be as below:

tbjrd hruto eomhg qwpe unsl ifoa covz kxey

Write a script that accepts a message from command line and prints the equivalent coded message.


Source Dumper

Write a script that dumps its own source code. For example, say, the script name is then the following command should returns nothing.

$ perl | diff -

Last date to submit the solution 23:59 (UK Time) Sunday 2nd February 2020.


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

Contact with me