develooper Front page | perl.perl5.porters | Postings from October 2017

[perl #132334] In Perl 5.26 and above, the /o modifier has sideeffects on split

Thread Previous
From:
Tony Cook via RT
Date:
October 28, 2017 08:11
Subject:
[perl #132334] In Perl 5.26 and above, the /o modifier has sideeffects on split
Message ID:
rt-4.0.24-11936-1509178256-442.132334-15-0@perl.org
On Sat, 21 Oct 2017 09:54:22 -0700, Harald.Joerg@arcor.de wrote:
> "James E Keenan via RT" <perlbug-followup@perl.org> writes:
> 
> > [...]
> > Agreed. Building a threaded perl at tag v5.24.0 and running that test
> > file, I get all tests PASSing.  My unthreaded perl-5.24.1 had a FAIL
> > on the 4th test.
> >
> > So, is the original poster's test setup "correct" -- in the sense that
> > having all 4 tests pass is the expected behavior?
> >
> > Harald.Joerg: Do you know which of your perl builds were threaded and
> > which were not?
> 
> Sure! I have to apologize: *with a non-threaded 5.24.3, the fourth test
> fails as well*.  I had run the 5.24 tests with Debian's system perl,
> which is threaded.  So, this isn't about the perl version, but about
> threaded/unthreaded builds.  Sorry for the confusion.  I did some more
> perlbrew installs and tests:
> 
> The test succeeds with:
> 
>     (v5.26.1) built for x86_64-linux-thread-multi
>     (v5.24.1) built for x86_64-linux-gnu-thread-multi
>     (v5.20.2) built for x86_64-linux-gnu-thread-multi
> 
> The test fails with:
>     (v5.27.1) built for x86_64-linux
>     (v5.26.1) built for x86_64-linux
>     (v5.24.3) built for x86_64-linux
> 
> The "gnu-thread" Perls are what's distributed with Debian 8/9, all the
> others are perlbrewed. Thanks for the clarification!

This might have been fixed by 3cb4cde3dd4d2af2f5065053905708bffa5168f9

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=132334

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About