Instead of use feature 'say';
you can use v5.16.0;
which gets you all the features that arrived in 5.16 and every version before it, including say
.
I suggest 5.16, as it’s the version found in RHEL 7, and what our new development currently uses if it uses new features (though Jamie doesn’t use new features, most of his code still runs on 5.10 or even earlier). You can probably even move on to 5.26 (I think that’s the version in RHEL8), since RHEL 7 is now EOL. We tend to move to a new version a year or two after EOL for whatever support distro has the oldest Perl version…which has been 5.16 for a few years. 5.20, I think, gets signatures (though still behind an experimental flag until 5.36), which is a nice feature and the Perl implementation is very nice (it better be, since it took decades to arrive).