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

Re: [PATCH] Remove dependency on IO::String from Git.pm test

From
RGRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date
Jun 18, 2008, 15:10 UTC
Message-ID
<b77c1dce0806180810r46a3e2a5i4eb228e6dc19613d@mail.gmail.com>
In-Reply-To
<m37icmol6y.fsf@localhost.localdomain>
2008/6/18 Jakub Narebski <jnareb@gmail.com>:
Show 12 quoted lines
> Michael Hendricks <michael@ndrix.org> writes:
>
>> Instead of using IO::String to create an in-memory filehandle, use
>> open() with a scalar reference as the filename.  This feature has been
>> available since Perl 5.8.0 (which was released in 2002), so it should
>> be available pretty much everywhere by now.
>
> Besides if I understand correctly gitweb very much requires Perl >= 5.8
> because of required Unicode support.
>
> Nevertheless adding "use v5.8.0;" or "use 5.008_000;" would be I guess
> good idea.

"use 5.008;" is preferred form; "use v5.8.0" might yield obscure error messages on perls < 5.6, which is not the desired result.

Previous: Jakub NarebskiNext: Johannes Schindelin
Message 3 of 10 in “Remove dependency on IO::String from Git.pm test”
  1. Remove dependency on IO::String from Git.pm testMichael Hendricks, Jun 18, 2008
  2. Jakub NarebskiJun 18, 2008
  3. Rafael Garcia-SuarezJun 18, 2008
  4. Johannes SchindelinJun 18, 2008
  5. Jakub NarebskiJun 18, 2008
  6. Johannes SchindelinJun 18, 2008
  7. Lea WiemannJun 18, 2008
  8. Junio C HamanoJun 18, 2008
  9. Johannes SchindelinJun 18, 2008
  10. Lea WiemannJun 19, 2008

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.