New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s##$_=//#e fails unless $`, $&, or $' are used #12666
Comments
From tb@teebee.deThis is a bug report for perl from tb@teebee.de, s///e fails if $_ is set inside the replacement section while a $ perl --version|head -2|tail -1 $ cat case1.pl $ perl case1.pl $ cat case2.pl $ perl case2.pl Flags: Site configuration information for perl 5.16.2: Configured by buchholz at Sat Dec 15 13:50:00 CET 2012. Summary of my perl5 (revision 5 version 16 subversion 2) configuration: Platform: Locally applied patches: @INC for perl 5.16.2: Environment for perl 5.16.2: |
From @jkeenanOn Sat, 22 Dec 2012 16:25:09 GMT, tb@teebee.de wrote:
When I ran your 'case2.pl' on perl-5.20 and later, I got the results you got in your 'case1.pl' -- suggesting that the problem had been fixed along the way. I rewrote your 'case2.pl' in a way that it would work with the core distribution's 'Porting/bisect.pl'; see attached. Bisecting showed the following: ##### re-enable Copy-on-Write by default. :100644 100644 1f6e4e469121bf94a7f9ef63617676d1a395a6c3 b33b1c4b7a4a8e984085ec9c51f8a4e6f84b5cd4 M perl.h Confirmation: ##### $ git checkout 13b0f67 I believe this addresses the presenting problem. I will mark this ticket Resolved in 7 days unless I hear otherwise. Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Sun, 01 Jan 2017 21:45:03 GMT, jkeenan wrote:
Closing as per schedule. Thank you very much. -- |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#116176 (status was 'resolved')
Searchable as RT116176$
The text was updated successfully, but these errors were encountered: