Perl Weekly
Issue #501 - 2021-03-01 - Perl and Quality
latest | archive | edited by Gabor Szabo
|
Hi there!
Recently I wrote quite a few posts about dealing with legacy Perl code in corporations. One of the key things is the need to write automated tests and to set up a CI system. The Perl community was really good at writing tests for the CPAN modules and making it easy to write test. The Perl community (or members of it) even created the CPAN Testers a sort of slow CI system that was one of the best such systems in the early 2000s.
However when I look at the stats I've been collecting it seems that only 50% of recently uploaded CPAN modules have any form of CI system configured. (Actually maybe I should look at the cup half full and celebrate that 50% already have CI? I don't have numbers about other programming language communities.) I keep hoping that more people will embrace the idea. I even recorded a video explaining the new CI system I set up for Test::Class.
rt.cpan.org moved to its new host without any noticeable downtime.
MetaCPAN keyboard shortcuts: Did you know that pressing '?' while on MetaCPAN will show you the keyboard shortcuts? I did not. I ran a poll in the Perl programmers group on Facebook: 102 did not know, and only 2 new. One of them being Olaf Alders, who runs MetaCPAN. I also asked on the Perl Maven LinkedIn page. You can still vote there.
Enjoy your week!
Gabor Szabo
|
|
|
Sponsors
|
Use the same tooling across platforms to manage all your Perl environments. Add, remove, update individual dependencies, or install a bundle of curated packages by use-case (eg., a testing tools bundle), to get developing quickly. Learn more & try our new experimental Perl release here!
|
|
Announcements
|
by Ricardo Signes (RJBS)
I personally got along with RT, but I think it is great that rt.cpan.org continues living. As a side-effect it was also upgraded from v4.0.18 to v5.0.
|
|
|
Articles
|
by Paul Evans (PEVANS)
Adding a feature or making any changes to code isn't ready till you also wrote tests that verify the new feature and ensure that future changes will not break this feature.
|
|
|
|
|
by Gabor Szabo (SZABGAB)
Do you remember sets and Venn diagrams from school? Have you ever needed set operations while programming? It is rarely needed, but when it is then it is good to know you can use a module in Perl to help you.
|
|
|
|
by Flavio Poletti (POLETTIX)
Changing approach to establish the health of a KVStore::Remote object for xmpl. With rationale.
|
|
|
by Mark Gardner
Failure is a universal truth of computers. Files fail to open, web pages fail to load, programs fail to install, messages fail to arrive. As a developer you have no choice but to work in a seemingly hostile environment in which bugs and errors lurk around every corner. - a nice overview of the options in Perl.
|
|
|
|
by Gabor Szabo (SZABGAB)
Context in Perl: covering the wantarray, function and the want and howmany functions of Want.pm
|
|
|
|
by Flavio Poletti (POLETTIX)
How to make Perl much more readable by formatting the code. Though I am not sure having a variable called $star = '*'; is a good idea, neither do I easily understand multi-level ternary operators.
|
|
|
by Bill Costa
It is nice to see a (5-dimension) lookup table formatted as, well, a table.
|
|
|
by Flavio Poletti (POLETTIX)
So you thought that the neverending series about xmpl was over, didn't you?!? Yet another little facility...
|
|
|
Perl.com
|
|
Discussion
|
by Flavio Poletti (POLETTIX)
I prefer to use Capture::Tiny, but it is not in the core. (Which is a whole separate discussion.) The post got extensive feedback on Reddit.
|
|
|
Testing
|
by Gabor Szabo (SZABGAB)
In this video I went over and explained the CI job I set up for Test::Class to try to minimize the risk of changes. It includes running the tests of several downstream distributions and a scheduled job to ensure upstream changes don't break the module during the time no one is working on the code.
|
|
|
Web
|
by Mark Gardner
Creating the OpenAPI design for a simple web application.
|
|
|
CPAN
|
by Thibault Duponchelle
There are a few special, or advanced searches in MetaCPAN.They are listed in the FAQ, but that's not easy to notice. Thibault pointed at one of the examples and even suggested a new mode of browsing. What do you think. Would the treeview help you?
|
|
|
From now on the CPAN Mirror list will contain only one entry.
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Anwar will help you step out from your comfort-zone. You can even win the prize money of $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month among all the contributors of the month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome new week with couple of fun tasks "Rare Numbers" and "Hash-counting String". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read FAQ page.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
Enjoy quick recap of last week contributions by the Team PWC dealing with the "Pack a Spiral" and "Origin-containing Triangle" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Colin Crain
Perl Solutions Review by Colin Crain.
|
|
Videos
|
|
Weekly collections
|
|
The corner of Gabor
A couple of entries sneaked in by Gabor.
|
|
|
Events
|
|
Wednesday, March 10, 2021
|
|
March 11th, 2021 06:00 PM Central Time (US and Canada)
|
|
It will take place online between March 24-26 2021. The private ticket will be cheaper (EUR 30). People who register in time and transfer the participation fee, will get exclusive extras.
|
|
|
Wednesday, March 31, 2021
|
|
|
|
Our client has an office in Malta, and they’re looking for you. As a financial company seeing incredible growth over the last two decades, business is booming and they’re looking to expand their team.Looking for Perl developers with a strong background in Modern Perl – you should be comfortable with Moose and PSGI/Plack, and a solid grounding in using Perl’s testing tools.
|
|
The leader in premium native advertising for technology, financial services, and corporate and lifestyle sectors, our client is the power behind the advertising throne for over 200 websites.This dynamic team is looking for a senior Perl programmer with a strong understanding of Go programming language, paradigms, constructs, and idioms.
|
|
Very well-known Austrian e-commerce brand willing to consider all candidates with strong Perl, but they make heavy use of PostgreSQL, Elasticsearch, and Dancer, any of which would be useful to have experience with.
|
|
With more than 4 million domains spanning nearly every country around the globe, our client manages over 100,000 retail and corporate clients and 2,300 resellers.The ideal candidate should be confident using Modern Perl, in particular happy with DBIx::Class and Moose/Moo.
|
|
Not all jobs are created equal. Sure, most pay the bills, but some do more. They impart a sense of purpose; when you log out at day’s end, it’s with the satisfaction that you are part of something bigger, something more important than yourself. You’ve left the world a little better than you found it, and isn’t that what life is really about?
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|