2011.12.01 in #19
A very interesting question by Shlomi Fish regarding the different behavior of exec and command line parameters on Windows and Linux, and a very nice explanation by Aristotle Pagaltzis.
2012.10.08 in #64
A concise forking idiom in pure Perl
Aristotle Pagaltzis is the maintainer of Proc::Fork, but for the regular cases he recommends a construct that does not use that module.
2012.10.13 in #64
A little 'state' idiom
Aristotle Pagaltzis shows how to ask 'have I been here?' in Perl.
2013.06.16 in #99
A decade in CPAN toolchain
What did Module::Build bring to the CPAN toolchain and how can it be removed from core? Check what Aristotle writes. (In case you don't know him, that's really the name of the guy, and he really is a great thinker.)
2013.06.29 in #101
Backcompat is holding us back!
Aristotle muses on the chains of backward compatibility. Are they preventing us to reach for the stars, or are they something necessary to keep us grounded? Between staleness and revolution, can we find the right evolutive balance?
2014.07.13 in #155
The perversity of traditional Perl's dereferencing syntax
Perl's new postderef syntax looks funny, but there is a reason for it. Aristotle explains the devil that lies in the details of the deadly dereferencing drama.
2014.12.24 in #179
Speaker for the dead
In contrast to the Challenge above, Aristotle shows how he wrapped up and deleted a CPAN module that is probably not going to be useful for anyone anymore. But maybe...
2015.01.07 in #181
Serializers for Perl: when to use what
YAML, JSON, Serial, so many serializers to choose from... Aristotle offers a brief overview of the serializing landscape, and provide guidance on when to use the different players in the field.
2015.02.17 in #187
Today's bit of black perl
Aristotle presents a small perl script which illustrates a way that the unwary, and those new to Perl, can be surprised when playing around with subroutine arguments.
2015.05.14 in #199
Aristotle has released Plack::Middleware::SignedCookies to CPAN. It is Plack middleware that "signs outgoing cookies on the server with a HMAC digest and verifies the digest on incoming cookies. If a cookie doesn’t pass the signature test, it is dropped on the floor and your application never gets to see it".
2015.08.04 in #211
Developing virtualhost-aware PSGI applications
Aristotle has created Plack::Middleware::MockProxyFrontend to make it easier to test websites where the content served depends on the domain name.
2015.12.20 in #230
Making local::lib real easy to use
A few one-liners.
2016.04.24 in #248
A very stupid, over-clever scoping-based importing trick
2016.05.03 in #250
The Coro situation
So it seems Coro and Perl 5.22 aren't working well together. The reasons and history for that sorry state seem to be... complicated. Aristotle offers us a recap.
2017.04.20 in #300
Alan Kay’s critique of the TPF grants program
Aristotle quotes Alan Kay, suggesting that we should consider focussing on funding people who do good things for Perl, rather than worrying so much on specific projects.
2017.09.15 in #321
A trivially simple algorithm to backoff and retry.
2017.11.29 in #332
Perl 5's List-Flattening and Reference-Taking Design Choices
Aristotle tells us a bit about some of the design considerations in Perl 5.
2018.03.12 in #347
Aristotle tells us when (not) to use his Try::Tiny::Tiny CPAN module
2018.03.24 in #348
2018.11.18 in #383
Modern Perl CGI
Drawing upon the example of Dan, Aristotle shows other alternatives to CGI.
2020.03.01 in #449
Narrowly destricted refs
2021.06.23 in #518
What they say in Java is just as true in Perl
Interesting post, you don't want to miss out.
2022.04.06 in #559
The ordering operators
When Aristotle writes: "Perl has two operators, cmp and <=>, which are basically never seen outside of sort blocks. That doesn't mean you can't use them elsewhere, though." I think oh-oh, here comes the scary part :-)
2022.09.03 in #580
On interpolating stuff into pattern matches
For all regex fan, nice performance comparison between the presence and absence of /o in regex.
2022.11.29 in #593
New feature: HTTPS support
blogs.perl.org now has HTTPS support
2022.12.05 in #594
Good bye PrePAN
What a shame we lost PrePAN. It is too late to do anything, unfortunately.
2022.12.31 in #597
PSA: Changing your b.p.o password is recommended
Aristotle has further improved blogs.Perl.org and now he invites the users to update their passwords to ensure that they are secure.
2023.03.15 in #608
Template Toolkit’s DEFAULT is not too useful
For all Template Toolkit user, do checkout the DEFAULT behaviour.
2023.06.13 in #621
"Let Maintainers Be Maintainers"
A very interesting article and I agree with most of it, however at the end of the article Graydon Hoare actually includes a contradiction. Supporting the changing requirements, the changing patterns of use or changes is a totally different thing than fixing security and performance issues or just plain bugs. The problem is that the latter is not 'sexy' and indeed companies have a harder time putting money behind that. Many corporations hardly invest in the maintenance of their own code-base, so doing that for open source project will be even harder for them.
2023.11.03 in #641
Dodging the Go loop trap
If you are not yet subscribed, you can do it now. Free of charge:
Just ONE e-mail each Monday. Easy to unsubscribe
. No spam. Your e-mail address is safe.
This newsletter is about the Perl Programming languages.