-
2011.09.30 in #10
Exit statuses and how $? works
Killing zombies and signaling orphans to exit the system? It is quite confusing for most of us who are not Unix system administrators by birth. Mauke helps clearing the confusion explaining how processes in Linux terminate and how, you as a Perl programmer can deal with that.
-
2012.11.23 in #70
Cool things you can do with Perl 5.14
Mauke introduces 3 modules using pluggable keywords that are available from version 5.14 of Perl: Quote::Code - quoted strings with arbitrary code interpolation; Switch::Plain - a simple switch statement for Perl; Function::Parameters - subroutine definitions with parameter lists. This is nice. Just a few days ago I was searching CPAN for solutions to declare parameters for a subroutine in Perl. I have not seen this one.
-
2015.08.14 in #212
Converting glob patterns to regular expressions
If programming constructs were Pokemons, glob patterns would be the first form of regular expressions. mauke shows us here how to manualy make them evolve to their final form.
-
2016.03.05 in #241
Perl curio: Dereferencing blocks
Lukas points that that the dereferencing curlies in @{$foo}
are introducing a code block, so you can do whatever you like in there, as long as it results in an appropriate reference.
-
2016.06.20 in #257
Cool Perl 6 features available in Perl 5
Cross-pollinisation is a wonderful thing. Like some of them cool features in Perl6, but not ready to take the leap into a whole new language? No worry: some of them trinkled back down into Perl5-land.
-
2017.05.12 in #303
Converting glob patterns to efficient regexes in Perl and JavaScript
Recently there was a big and enthusiastic discussion when Russ Cox benchmarked several glob implementations and now Lukas shows us the fast version using regexes. It's a nice article and one can learn some regex power tools, but I still don't understand when does this have any practical impact? Have you ever used glob with more than 2 stars (*) in it?
-
2017.08.05 in #315
/Fizz|Buzz/
The FizzBuzz Test is a programming interview question designed to help filter out the 99.5% of programming job candidates who can't seem to program their way out of a wet paper bag. I am not sure the original authors had this in their mind.... and the Aristotle golfed it. Creepy.
-
2017.10.22 in #326
Automated testing on Windows with AppVeyor
AppVeyor is cloud-based Continuous Integration service running on MS Windows. You can easily hook up your CPAN module or other Perl-based application to test it on Windows. A Lot less excuses for not supporting Windows.
If you are not yet subscribed, you can do it now. Free of charge:
This newsletter is about the Perl Programming languages.