Re: [PATCH RFC3.5 05/12] send-email: Improve redability and error-handling in send_message's sendmail code
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 19, 2009, 04:44 UTC
- Message-ID
- <7vskk5s15t.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <b4087cc50904181943t71d501a6r51bb4cc846f32f78@mail.gmail.com>
Michael Witten <mfwitten@gmail.com> writes:
Show 6 quoted lines
> On Sat, Apr 18, 2009 at 21:17, Thomas Adam <thomas.adam22@gmail.com> wrote: >> More concerning is that it's a perl 5.10ism -- you cannot assume that >> perl 5.10 is installed on all platforms. I really wouldn't use this >> construct. > > See that's the thing: How am I supposed to know it's a perl 5.10ism?
Read perldelta.pod They come with your Perl distribution.
Debian based distro installs them in
/usr/share/perl/5.10.0/pod/perl*delta.pod
and Fedora seems to have them in
/usr/lib/perl5/5.10.0/pod/perl*delta.pod
I think we stick to something like early 5.8 to support platforms with infrequent updates to Perl.