From: Jeff King Date: Sat, 04 Jul 2026 04:47:43 GMT Subject: Re: [PATCH v2 1/4] t1517: skip svn tests if svn is not installed Message-ID: <20260704044743.GA2255427@coredump.intra.peff.net> In-Reply-To: On Fri, Jul 03, 2026 at 01:36:37PM -0700, Junio C Hamano wrote: > Jeff King writes: > > > fed to perl (no quotes around 1.1.0). We sometimes catch these cases > > automatically it results in an extra argument to test_expect_success, > > etc. But here you are unlucky enough that it does not (and anyway, we do > > not seem to have the same safety check for test_lazy_prereq; we'd just > > ignore the extra arguments). > > > > And of course being perl, it doesn't complain. I'm not sure how it is > > interpreted, > > I happen to know ;-). > > When you have more than two sequences of digits separated by dot, > like IP address 192.168.1.1, you are telling Perl to interpret the > sequence as a string, each byte of it is the number denoted by these > digits. I believe this was invented primarily for IP addresses, but > it does not have to be just four digits. To wit: > > $ perl -e 'print 65.66.67;' > ABC > $ perl -e 'print 65.66.67.68.69;' > ABCDE > > Of course, 65.66 is not AB, but a floating-point number that is > between integers 65 and 66: > > $ perl -e 'print 65.66;' > 65.66 Ah, thanks. It is both exciting and horrifying that in 2026 I can still learn new perl esoterica. :) -Peff