projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d116ed
)
perldelta for #70151
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 17 Nov 2011 16:39:06 +0000
(08:39 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 17 Nov 2011 17:18:03 +0000
(09:18 -0800)
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
f1c506a
..
fdf8aba
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-639,6
+639,13
@@
Creating a BEGIN block from XS code (via C<newXS> or C<newATTRSUB>) would,
on completion, make the hints of the current compiling code the current
hints. This could cause warnings to occur in a non-warning scope.
+=item *
+
+C<eval $string> and C<require> no longer localise hints (C<$^H> and C<%^H>)
+at run time, but only during compilation of the $string or required file.
+This makes C<BEGIN { $^H{foo}=7 }> equivalent to
+C<BEGIN { eval '$^H{foo}=7' }> [perl #70151].
+
=back
=head1 Known Problems