In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/5b2f1ba66ef295d86085d8099d6c8cf1943913e9?hp=69afcc21edd23e38a4aff806a14e666d77f2bd0c>
- Log ----------------------------------------------------------------- commit 5b2f1ba66ef295d86085d8099d6c8cf1943913e9 Author: Tony Cook <[email protected]> Date: Wed Jun 12 11:40:29 2019 +1000 perldelta for 69afcc21edd2 ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 2ef73b1e18..2b85e2b1e6 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -427,6 +427,19 @@ Incomplete hex and binary literals like C<0x> and C<0b> are now treated as if the C<x> or C<b> is part of the next token. [perl #134125] +=item * + +A spurious C<)> in a subparse, such as in C<s/.../code here/e> or +C<"...${code here}">, no longer confuses the parser. + +Previously a subparse was bracketed with generated C<(> and C<)> +tokens, so a spurious C<)> would close the construct without doing the +normal subparse clean up, confusing the parser and possible causing an +assertion failure. + +Such constructs are now surrounded by artificial tokens that can't be +included in the source. [perl #130585] + =back =head1 Known Problems -- Perl5 Master Repository
