Originally published at Perl Weekly 661
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!
--
Your editor: Gabor Szabo.
Announcements
perl 5.39.9 released
With the new ^^ logical xor operator. And a reminder: it is a development release.
Articles
Changes in MooX::Role::Parameterized
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-5.38.2 suspiciously reposted to CPAN?
Perl
This week in PSC (141) | 2024-03-21
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.
The Weekly Challenge - 262
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.
RECAP - The Weekly Challenge - 261
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.
These Elements, Theyโre Multiplying!
Using pack() then unpack() to get the element sum. This is something very handy. Find out more in the post.
Two Elements
Lots of Raku magic, '>>.comb' and '>>.sum' can be lethal. Keep it up great work.
Can You Digit It?
Using CPAN module makes it compact and elegant. Did you know that 261 is an Odious Number? Well done.
Perl Weekly Challenge: Week 261
This week task was ideal for Raku one-liner and here we have one, incredible.
Bits, Digits and Numbers
Pure mathematical approach with the help of CPAN module. Don't you love the one-liner it generates? Really cool.
Perl Weekly Challenge 261: Element Digit Sum
Comparative solutions in Perl and Raku can be fun. Plenty to learn just following the code.
Perl Weekly Challenge 261: Multiply by Two
Using Bag in Raku is an ideal choice, something any Perl dev can relate to. Thanks for sharing.
a short one!
Being master of Raku one-liner, we have yet another cute one-liner, you don't want to skip it.
Perl Weekly Challenge 261
Master of Perl one-liner is at his best. You don't want to miss it. Highly recommended.
Summing Up Two Short Challenge Elements
Simple yet elegant solutions in Perl. Task analysis is not to be missed though.
Two Elements, Multiplied by Digit Sum
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.
Digits and doubling
Lack of clarity in task description handled very well. Task analysis is always fun to read.
The Weekly Challenge #261
CPAN module can make your life fun and easy. You must checkout the solutions.
Two Elements Who Adore You
You will love how Set of Raku can be fit for the job. Thanks for sharing knowledge with us.
Weekly Challenge 261
Near identical solutions in Perl and Python. No wonder Python is second choice for all Perl programmer.
Weekly collections
NICEPERL's lists
Great CPAN modules released last week.
You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics.
Want to see more? See the archives of all the issues.
Not yet subscribed to the newsletter? Join us free of charge!
(C) Copyright Gabor Szabo
The articles are copyright the respective authors.