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

From: Randal L. Schwartz <merlyn@stonehenge.com>
Date: 2006-01-07 09:55:54
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:

Junio> So I'd prefer not touching for (@df) { print H "$_\n" } loops.

Being as I'm a *bit* familiar with Perl, I'd write that as:

  print H "$_\0" for @deletedfiles;

if you want to write "for" as "foreach", I wouldn't complain either.
After all, that's spelled "f o r", but pronounced "foreach". :)

-- 
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!
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Jan 07 09:56:42 2006

This archive was generated by hypermail 2.1.8 : 2006-01-07 09:56:49 EST