Re: [PATCH] git-mv is not able to handle big directories
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Nov 23, 2005, 07:55 UTC
- Message-ID
- <867jazre78.fsf@blue.stonehenge.com>
- In-Reply-To
- <7vk6ez7u1y.fsf@assigned-by-dhcp.cox.net>
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
Junio> open my $oh, qw(|- git-update-index -z --stdin) Junio> or die "oops";
This is Perl 5.6 or later. Breaks on Perl 5.5, which is still in use in some places.
To be compatible with 5.5, you have to create a handle explicitly:
require IO::Handle;
my $oh = IO::Handle->new;
open $oh, qw(...) ...;That works all the way back to 5.4, which is the earliest Perl supported by the core team.
-- 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!