2012.01.11 in #25
The Case of the Overloaded Curlys
C. Auguste Dupin helping Tom Wyant in a Perl parsing problem. Brilliant.
2012.01.27 in #27
The Case of the Incompatible Safe
Tom Wyant asked C. Auguste Dupin again for help. This time with a conflict between Safe, Devel::Cover, Data::Dumper and eval. Unfortunately Dupin was just mocking him.
2012.12.01 in #71
The Case of the Unexpected Pax
C. Auguste Dupin is tracking down problems with packaging. Brought to you by Tom Wyant.
2016.03.04 in #241
MacPorts openssl versus Perl
Tom found that a failure with LWP::Protocol::https was due to an upgrade from 1.0.2f to 1.0.2g of OpenSSL. He shows how you can downgrade a MacPort. You should be aware of the security issues announced this week (the most widely reported being the DROWN attack), which affected older versions of OpenSSL.
2016.03.11 in #242
Son of MacPorts openssl versus Perl
A quick follow-up on Tom's original blog entry on the woes of having openssl and Perl play nice together on MacOS.
2016.03.16 in #243
Stupid perldoc-search trick
Tom shows how you can use perldoc-search to look for documentation, while excluding the current directory, so it doesn't pull in random stuff.
2016.06.15 in #256
Refactor of Perl Critic policy ProhibitUnusedVarsStricter
Tom describes the changes in the new version of his Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter module. It's a Perl::Critic policy for catching unused variables.
2016.06.27 in #258
Retraction of Geo::Coder::Geocoder::US
Tom posted that he was going to delete Geo::Coder::Geocoder::US from CPAN, but then discussion in the comments resulted in Tom deciding to deprecate the module, and possibly delete it from CPAN at some later date.
2016.11.02 in #276
Tom was recently granted co-maint on DateTime::Calendar::Christian and has done a developer release, the first release in 13 years. He'd like feedback from anyone with an interest in it.
2016.11.22 in #279
CPAN Testers RULE!
Just a quick blurt of love for CPAN Testers, which save so much of our bacon so often, and for one particularly diligent member of this phalanx of tireless sentinels standing in the threshold between order and chaos: Slaven Rezic.
2017.03.09 in #294
Shire Calendar Update
You know, from Middle-Earth.
2017.07.22 in #313
PPIx-Regexp Perl Version Functionality
Tom introduces his PPIx::Regexp module, which provides a PPI-like interface for parsing regular expressions.
2017.10.07 in #324
Iridium Flare End-Of-Life
Tom proposes deprecation of Astro::Coord::ECI::TLE::Iridium, as the Iridium fleet is updated.
2018.04.03 in #350
Smoke testing is the Continuous Integration of whatever you test, in this case Perl itself. In the Perl world it is done by volunteers who configure their own computers to build perl and run the test regularly. This is one account on how to configure a machine to do that.
2019.01.15 in #391
Untrusted Numeric Input
If you thought \d is good for making sure your input is made out of numbers, it seem you were wrong. Tom explains that \d matches digits even if they are not ASCII digits, something that could trip your math functions. He shows a number of ways to overcome the problem. I found this an excellent post, both because of the content and because of the healthy number of links. Something many bloggers seem to forget.
2019.02.09 in #394
Untrusted Numeric Input -- /[0-9]/
Tom shares his detailed further analysis of his earlier blog about the same subject.
2019.03.22 in #400
Native Variable-Length Lookbehind
Tom Wyant explaining the most difficult part of regex so elegantly.
2019.05.04 in #406
Wildcard Unicode Property Values
Tom explains wildcard unicode property values in regex with examples.
2019.05.15 in #408
Stupid Unicode Trick: Noncharacters
Tom's continued exploration of Unicode as far as the Perl is concerned.
2019.09.21 in #426
Perl Unicode versions
Tom shares very interesting stats about how Unicode progressed through various releases of Perl.
2021.07.04 in #519
You can specify 'tomorrow noon', and now also 'tomorrow sunrise' However it only works in English. Would you like to help Tom add support for other languages as well?
2021.09.15 in #530
My Favorite Warnings: redundant and missing
Tom sharing his favourites warnings.
2021.09.24 in #531
My Favorite Modules: if
2021.09.30 in #532
My Favorite Warnings: exiting
Tom discussing transfer of control out of normal flow. Interesting read.
2021.10.06 in #533
My Favorite Warnings - A Belated Introduction
2021.10.14 in #534
My Favorite Warnings: uninitialized
Dedicated blog post to discuss the warning 'uninitialized'.
2021.10.29 in #536
My Favorite Warnings: redefine
Tom's extending his blog series with yet another useful topic. It is worth reading.
2021.11.05 in #537
My Favorite Modules: Term::ReadLine::Perl
2021.11.10 in #538
My Favorite (?) Warnings - Ex-Warnings
Please check out Tom's blog post on another favourite.
2021.11.19 in #539
My Favorite Warnings: deprecated
The deprecated warning is a grab-bag. Basically, anything that is deprecated causes this warning to be generated, and the list changes from release to release.
2021.11.26 in #540
My Favorite Warnings: experimental
Tom continued his series of favourite warnings. Please check it out to find out more about 'experimental'.
2021.12.07 in #546
My Favorite Warnings: closure
This weekly blog by Tom shares the insights of 'closures' in a compact and cocise way.
2021.12.09 in #542
My Favorite Warnings: shadow
Tom discussed another of his favourite warnings, shadow, in hid ongoing blog series.
2021.12.16 in #543
My Favorite Warnings: syntax
Warnings category syntax contains a number of sub-categories representing possibly-problematic syntax. These include ambiguous syntax, problematic bareword usage, invalid printf conversions, and more.
2021.12.23 in #544
My Favorite Warnings: ambiguous
Do you want to know more about the 'ambiguous' warning? Tom giving you insight on the subject.
2021.12.30 in #545
Do-It-Yourself Lexical Pragmas
This blog post is about writing Perl code whose configuration changes are limited to a lexical scope, just like built-in pragmata such as strict or warnings.
2022.01.21 in #548
My Favorite Warnings: qw
Tom shares information about one of the most commonly used qw() constructs.
2022.02.04 in #550
My Favorite Modules: re
Tom sharing his favourite module 're' dealing with Perl regexes.
2022.03.12 in #555
XS versus clang: Infinite warnings
2022.03.27 in #557
Installing Perl: A Chicken-and-Egg Problem
Installing Perl from scratch on a Raspberry Pi that lost its mind.
2022.05.11 in #564
My Favorite Modules: Errno
Nice introduction to Errno with apt example to get the point across.
2022.05.19 in #565
My Favorite Modules: Time::Piece
2022.05.25 in #566
What's In That String?
One of the steps of debugging Perl can be to find out what is actually in a string.
2022.06.10 in #568
Core Modules: filetest
Tom shared the details of filetest pragma in the light of latest Perl v5.36. A very nice introduction, not to be missed.
2022.06.17 in #569
My Favorite Modules: File::stat
2022.06.24 in #570
Annotated Perl::Critic Policy Index
Tom gathered Perl::Critic policies in one place for all of us. Good job.
2022.07.05 in #572
Announcing perlcritic Policy ValuesAndExpressions::ProhibitFiletest_rwxRWX
A new perlcritic policy introduced by Tom.
2022.07.12 in #573
Scalar Context: Lists Versus Arrays
When a function returns multiple values in LIST context, what would you like it to return in SCALAR context? You have a decision to make and it is better that you decide and not fate.
2022.07.20 in #574
Sorting Subroutine Results
A not so widely used form of sort is discussed. Thanks for sharing the details.
2022.07.26 in #575
Numeric Variable Names With Leading Zeroes
Over on the p5p mailing list, a user raised the issue that use of variable $00 is an error starting with Perl 5.32, and asked that this "regression" be fixed.
2022.08.06 in #576
Match Anything, Quickly
Interesting benchmark when it comes to filter using regex objects or sub wrapping a match.
2022.09.02 in #580
Match Anything, Quickly -- Revision 1
Regex always present challenge and facing the challenge is never boring.
2023.01.17 in #600
Looking at regexp through the lens of Perl is always fun. You will never get bored.
2023.01.25 in #601
My Favorite Modules: PerlIO::via
PerlIO::via allows you, easily, and with minimal code, to modify an I/O stream before it gets to the reader of the stream. or after the writer has written it.
2023.02.03 in #602
Annotated Test2::Tools Index
Interesting use case with regard to skip test inside for-loop. Highly recommended.
2023.02.17 in #604
Outstanding GitHub Items
Do you use GitHub? If yes then you should checkout this post,
2023.02.24 in #605
Ordering Your Tests
On one hand I think having the tests ordered can be a good idea, but on the other hand we will also want to make sure that the success of the tests does not depend on their order and that they can also be executed in parallel. So I am not really in favor of specifying the order of the test.
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.