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

Re: [PATCH] git-mv.perl: use stderr for error output and cleanup

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Jan 7, 2006, 10:34 UTC
Message-ID
<86sls0498w.fsf@blue.stonehenge.com>
In-Reply-To
<20060107102820.GB5536@steel.home>
>>>>> "Alex" == Alex Riesen <raa.lkml@gmail.com> writes:
Alex> Randal L. Schwartz, Fri, Jan 06, 2006 23:55:54 +0100:
>> >>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
>> 
Junio> So I'd prefer not touching for (@df) { print H "$_\n" } loops.
Show 5 quoted lines
>> 
>> Being as I'm a *bit* familiar with Perl, I'd write that as:
>> 
>> print H "$_\0" for @deletedfiles;
>> 
Alex> Does not work for old Perl
Correct.  It was added for Perl 5.5, first released on 22 July 1998.

Are you really saying you need this code to run on Perl 5.4? There are a number of other things that would have to be fixed as well. (We had this conversation a while back.)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Alex RiesenNext: Junio C Hamano
Message 11 of 14 in “git-mv.perl: use stderr for error output and cleanup”
  1. git-mv.perl: use stderr for error output and cleanupAlex Riesen, Jan 5, 2006
  2. Junio C HamanoJan 6, 2006
  3. Randal L. SchwartzJan 6, 2006
  4. Linus TorvaldsJan 6, 2006
  5. Randal L. SchwartzJan 6, 2006
  6. Linus TorvaldsJan 7, 2006
  7. Junio C HamanoJan 7, 2006
  8. Alex RiesenJan 7, 2006
  9. Junio C HamanoJan 7, 2006
  10. Alex RiesenJan 10, 2006
  11. Randal L. SchwartzJan 7, 2006
  12. Junio C HamanoJan 7, 2006
  13. Andreas EricssonJan 8, 2006
  14. Alex RiesenJan 10, 2006

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.