On Sun, 16 Jun 2019 16:32:49 -0700, tonyc wrote: > On Fri, 14 Jun 2019 19:08:00 -0700, hv wrote: > > On Fri, 14 Jun 2019 15:10:01 -0700, jkeenan wrote: > > > Operation not permitted > > > > You need to be root, or otherwise privileged. > > > > As root, I can reproduce it here: > > # /opt/v5.28.1/bin/perl -wle '$) = "2 2"; print $!; print $)' > > > > 2 2 > > # /opt/v5.30.0/bin/perl -wle '$) = "2 2"; print $!; print $)' > > Invalid argument > > 2 0 > > # > > > > Of course that makes it difficult to spot bugs like this from the > > testsuite. :( > > I wonder if it's worth splitting out the parsing into a non-API (but > still exported) function that we can test in XS::APItest. Something like the attached. Tony --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=134169