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

Re: Minimum Perl version?

From
TTait <git.git@t41t.com>
Date
Sep 24, 2010, 20:40 UTC
Message-ID
<20100924204032.GU23563@ece.pdx.edu>
In-Reply-To
<AANLkTin_wrCnpz-fz=FuJ96j+xBHM1-5HTGG0vP7bmDY@mail.gmail.com>
Show 7 quoted lines
> > What is the minimum Perl version git expects to support?
> >
> > I ask, because f922df8... seems to have introduced a open() syntax that
> > is not compatible with some older Perl versions.
>
> We generally support 5.6 or above, but 5.8 or above for some other
> programs.

I am having to use a system with 5.6.1 to do cvsimport and cvsexportcommit, and interactive add. I haven't tried sendmail or other functions, yet. This system was previously using git 1.6.5.something, and did not have these problems as of that release, but now that I'm building git 1.7.3, they have appeared.

Perl 5.6.1 doesn't support the list open syntax, so one must replace open(my $fh, '-|', @list) with open(my $fh, '-|'), and then exec(@list). I'm working up a patch set to fill my own needs on this system, but based on the subsequent discussion about setting 5.8 as the minimum, it sounds like it's not worth submitting.

Thanks.
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 10 in “Minimum Perl version?”
  1. TaitSep 24, 2010
  2. Ævar Arnfjörð BjarmasonSep 24, 2010
  3. TaitSep 24, 2010
  4. Ævar Arnfjörð BjarmasonSep 24, 2010
  5. Andreas EricssonSep 26, 2010
  6. Tor ArntsenSep 24, 2010
  7. Ævar Arnfjörð BjarmasonSep 24, 2010
  8. Tor ArntsenSep 24, 2010
  9. Alex RiesenSep 24, 2010
  10. Tor ArntsenSep 24, 2010

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.