Closed GoogleCodeExporter closed 9 years ago
in fact toto is the correct output
this is not a perlcc issue but a perl issue
Original comment by nicolas....@gmail.com
on 30 Jan 2014 at 11:25
Given the B::C behavior matches what perl does in later versions, we're
lowering priority to don't care...
Original comment by todd.e.rinaldo
on 31 Jan 2014 at 6:33
WontFix. The usage of lexical $_ is experimental.
The right test would be
pcc -e '$s="toto";$_="titi";$s =~ /to(?{ print "-$_-$s-\n";})to/;'
=> -toto-toto-
and this matches perl behavior in all versions.
$ perl5.18.2-nt -e '{my $s="toto";my $_="titi";{$s =~ /to(?{ print
"-$_-$s-\n";})to/;}}'
Use of my $_ is experimental at -e line 1.
-titi-toto-
Original comment by reini.urban
on 5 Feb 2014 at 5:23
[deleted comment]
Original comment by reini.urban
on 4 Jun 2014 at 5:14
Original issue reported on code.google.com by
cpanel...@gmail.com
on 2 Dec 2013 at 10:26