Fails since: v5.11.1-217-gf0e67a1
with parsing errors as in:
http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6521115.html
Header of the commit:
Author: Zefram <zef...@fysh.org>
Date: Sun Nov 15 14:25:50 2009 +0100
lexer API
Attached is a patch that adds a public API for the lowest layers of
lexing. This is meant to provide a solid foundation for the parsing that
Devel::Declare and similar modules do, and it complements the pluggable
keyword mechanism. The API consists of some existing variables combined
with some new functions, all marked as experimental (which making them
public certainly is).
There is currently a problem with rt.cpan.org so that I could not open a
ticket over there.
HTH,
--
andreas
Thanks for finding this.
This isn't an rt.perl.org ticket yet, is it?
(Hence it can't be added as a 5.12.0 blocker?)
The syntax that has inadvertently become illegal can be reduced to:
$ cat L
s//
{
Perl => 'Rules',
}->{$1};
/e;
__END__
$ ./perl L
syntax error at L line 3, near "}->"
Execution of L aborted due to compilation errors.
A variant of the test case is also considered illegal:
$ cat L1
s//
{
#
}->{$1};
/e;
__END__
$ ./perl L1
syntax error at L1 line 3, near "#
}->"
Execution of L1 aborted due to compilation errors.
Nicholas Clark
(We do not have all the ingredients for a ticket to rt.cpan.org because
the cpan distro that triggered the discovery of the bug is not indexed
on cpan due to broken directory permissions. Since we're definitely
dealing with a perl bug here we can suppress the urge to post there.)
> Thanks for finding this.
> Nicholas Clark
--
andreas