Re: [PATCH] git-mv.perl: use stderr for error output and cleanup
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jan 10, 2006, 22:26 UTC
- Message-ID
- <20060110222604.GC3155@steel.home>
- In-Reply-To
- <86sls0498w.fsf@blue.stonehenge.com>
Randal L. Schwartz, Sat, Jan 07, 2006 11:34:23 +0100:
Show 13 quoted lines
> >> >>>>> "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;
> >>
>
> 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?No, probably not. I definitely don't care, just wanted to point it out as another one kind of a strange setup (as if activestat perl + cygwin isn't enough...)