Subject: Re: [PATCH] git-mv is not able to handle big directories

From: [email-masked] (Randal L. Schwartz)
Date: 22 Nov 2005 23:55:07 -0800

>>>>> "Junio" == Junio C Hamano <[email-masked]> 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
<[email-masked]> <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!