Re: [PATCH] git-mv.perl: use stderr for error output and cleanup
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Jan 6, 2006, 22:55 UTC
- Message-ID
- <86wthd7ypx.fsf@blue.stonehenge.com>
- In-Reply-To
- <7vek3lq8wu.fsf@assigned-by-dhcp.cox.net>
>>>>> "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!