Perl Weekly
Issue #661 - 2024-03-25 - Perl Toolchain Summit 2024
latest | archive | edited by Gabor Szabo
|
Hi there!
Perl 5.39.9 was released including the new ^^ operator. It is only a development release, but I'd like to encourage you to give it a try and give feedback to the developers.
There was some nefarious activity on CPAN. Someone re-uploaded perl-5-38.2. It was reported and the security team quickly eliminated the threat.
I was wondering if I should write about the hate mails I received: one for myself as Jew (my ethnicity) triggered by what I wrote two weeks ago and one on behalf of Mohammed as a Muslim (his religion) triggered by what he wrote last week. I've removed these people from the distribution, but I think they need more accountability. I am still contemplating publishing the names of these people along with their messages so the Perl community and their employers will be aware of that. After all most of us don't want to work with abusive people, do we?
The Perl Toolchain Summit is coming again and they need your help sponsoring the even. Here is the Sponsor prospectus for Perl Toolchain Summit 2024. Last year I ran an online course about Open Source development and the proceedings went to the summit (though I transferred them late, so probably they could not use that in time). This year I don't have the time for that, but I hope you will see the value in the summit and will sponsor it directly.
Enjoy your week!
Gabor Szabo
|
|
|
Announcements
|
With the new ^^ logical xor operator. And a reminder: it is a development release.
|
|
Articles
|
Roles are used when you need to share behaviour among several classes that don’t have to be related by inheritance. Normally, a role just adds a bunch of methods to the class that consumes it (there’s more, you can for example specify which other methods the role expects to already exist). A parameterized role makes it possible to provide parameters for the consumed role. This way, you can adjust the behaviour for each consuming class.
|
|
Security team
|
|
Perl
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Sajid Anwar will help you step out of your comfort-zone. We pick one champion at the end of the month from among all of the contributors during the month.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks "Max Positive Negative" and "Count Equal Divisible". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read the FAQ.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Element Digit Sum" and "Multiply by Two" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Adam Russell
Using pack() then unpack() to get the element sum. This is something very handy. Find out more in the post.
|
|
|
by Arne Sommer
Lots of Raku magic, '>>.comb' and '>>.sum' can be lethal. Keep it up great work.
|
|
by Dave Jacoby (JACOBY)
Using CPAN module makes it compact and elegant. Did you know that 261 is an Odious Number? Well done.
|
|
|
by Jaldhar H. Vyas
This week task was ideal for Raku one-liner and here we have one, incredible.
|
|
by Jorg Sommrey
Pure mathematical approach with the help of CPAN module. Don't you love the one-liner it generates? Really cool.
|
|
by Laurent Rosenfeld
Comparative solutions in Perl and Raku can be fun. Plenty to learn just following the code.
|
|
by Laurent Rosenfeld
Using Bag in Raku is an ideal choice, something any Perl dev can relate to. Thanks for sharing.
|
|
by Luca Ferrari
Being master of Raku one-liner, we have yet another cute one-liner, you don't want to skip it.
|
|
by W Luis Mochan
Master of Perl one-liner is at his best. You don't want to miss it. Highly recommended.
|
|
by Matthias Muth
Simple yet elegant solutions in Perl. Task analysis is not to be missed though.
|
|
by Packy Anderson (PACKY)
Clever use of Raku's Reduction Metaoperator makes it ideal to get the job done. CPAN has an alternative to the Raku's counterpart. Well done.
|
|
by Peter Campbell Smith
Lack of clarity in task description handled very well. Task analysis is always fun to read.
|
|
by Robbie Hatley
CPAN module can make your life fun and easy. You must checkout the solutions.
|
|
by Roger Bell West (FIREDRAKE)
You will love how Set of Raku can be fit for the job. Thanks for sharing knowledge with us.
|
|
by Simon Green
Near identical solutions in Perl and Python. No wonder Python is second choice for all Perl programmer.
|
|
Weekly collections
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|