Re: Minimum Perl version?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > What is the minimum Perl version git expects to support?
> >
> > I ask, because f922df8... seems to have introduced a open() syntax that
> > is not compatible with some older Perl versions.
>
> We generally support 5.6 or above, but 5.8 or above for some other
> programs.

I am having to use a system with 5.6.1 to do cvsimport and cvsexportcommit,
and interactive add. I haven't tried sendmail or other functions, yet. This
system was previously using git 1.6.5.something, and did not have these
problems as of that release, but now that I'm building git 1.7.3, they
have appeared.

Perl 5.6.1 doesn't support the list open syntax, so one must replace
open(my $fh, '-|', @list) with open(my $fh, '-|'), and then exec(@list).
I'm working up a patch set to fill my own needs on this system, but based
on the subsequent discussion about setting 5.8 as the minimum, it sounds
like it's not worth submitting.

Thanks.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]