git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH] perl: bump the required Perl version to 5.10.0 from 5.8.0

From
EWEric Wong <e@80x24.org>
Date
Dec 24, 2017, 23:08 UTC
Message-ID
<20171224230839.f6r66u37wj4ai3sj@untitled>
In-Reply-To
<871sjkrtrm.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 6 quoted lines
> On Sun, Dec 24 2017, Jeff King jotted:
> > As far as this actual perl change goes, I don't have a strong opinion. I
> > agree it would be nice to eventually move forward, and your reasoning
> > about what constitutes "old" seems sane. But we also don't write much
> > perl in this project these days, and I don't see a lack of modern perl
> > features causing a lot of headaches.
Agreed.
Show 5 quoted lines
> Yes, unlike with the curl patches it's not a big PITA to maintain
> compatibility with 5.8, it would just be easier to write new code &
> maintain old code and not have to be on guard about not using features
> one takes for grantend, and maintain compatibility with 5.8 versions of
> core modules.

As one of the more frequent Perl users here (even outside of git.git), I never considered using 5.10+ features at all until now. Maybe 5.8 compatibility is just too ingrained into me and much of the stuff I work on is old and ancient(*).

That said, reading perl5100delta does reveal features such as defined-or and given/when that I might find useful; but I'm also not going to replace existing code to use new features unless there is a clear improvement.

If there's new code people are developing using 5.10; I would not object at all. Otherwise, I don't see compatibility with 5.8 hurts more than it helps.

Maybe we change our docs to say we welcome 5.10 features for new code, but I'm against changing things for the sake of change.

(*) Like this 32-bit laptop from 2005.  Only problem I have with
    it is the noisy fan.
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 7 of 12 in “perl: bump the required Perl version to 5.10.0 from 5.8.0”
  1. perl: bump the required Perl version to 5.10.0 from 5.8.0Ævar Arnfjörð Bjarmason, Dec 23, 2017
  2. Randall S. BeckerDec 23, 2017
  3. brian m. carlsonDec 23, 2017
  4. Ævar Arnfjörð BjarmasonDec 24, 2017
  5. Jeff KingDec 24, 2017
  6. Ævar Arnfjörð BjarmasonDec 24, 2017
  7. Eric WongDec 24, 2017
  8. Ævar Arnfjörð BjarmasonDec 25, 2017
  9. Eric WongDec 25, 2017
  10. Junio C HamanoDec 27, 2017
  11. Jonathan NiederDec 27, 2017
  12. Jonathan NiederDec 27, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.