From: Father Chrysostomos Date: Wed, 8 Dec 2010 20:54:25 +0000 (-0800) Subject: perldelta for 558b442/[perl #66104] X-Git-Tag: accepted/trunk/20130322.191538~6584^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d66e82e8086974a3e2dcb5f6cef8318f80b43e22;p=platform%2Fupstream%2Fperl.git perldelta for 558b442/[perl #66104] --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 90393ec..cb45fd4 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1,8 +1,10 @@ =encoding utf8 =for comment -This has been completed up to 7c7df81, except for: +This has been completed up to 558b442, except for: d9a4b459f94297889956ac3adc42707365f274c2 +bf5522a13a381257966e7ed6b731195a873b153e +9cef83062267e94311e1fd8744396e440642738e =head1 NAME @@ -127,6 +129,19 @@ If it is absolutely necessary to have empty attribute lists (for example, because of a code generator) then avoid the error by adding a space before the C<=>. +=head2 Run-time code block in regular expressions + +Code blocks in regular expressions (C<(?{...})> and C<(??{...})>) used not +to inherit any pragmata (strict, warnings, etc.) if the regular expression +was compiled at run time as happens in cases like these two: + + use re 'eval'; + $foo =~ $bar; # when $bar contains (?{...}) + $foo =~ /$bar(?{ $finished = 1 })/; + +This was a bug, which has now been fixed. But it has the potential to break +any code that was relying on this bug. + =head1 Deprecations XXX Any deprecated features, syntax, modules etc. should be listed here.