In perl.git, the branch yves/doc_hints has been updated <http://perl5.git.perl.org/perl.git/commitdiff/5f06e6dff4dfd8b38fdd7981b0a7b7da331d02b3?hp=1510475f3ddac95b1e3fa2f23b7836a212cb6d7d>
- Log ----------------------------------------------------------------- commit 5f06e6dff4dfd8b38fdd7981b0a7b7da331d02b3 Author: Yves Orton <demer...@gmail.com> Date: Sun Jun 18 01:53:36 2017 +0200 minor tweaks to the language ----------------------------------------------------------------------- Summary of changes: pod/perlvar.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 0857209b89..2fc8c25d5d 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -2162,8 +2162,8 @@ L<perlpragma>. Similar to $^H this variable is part of the lexical state of the compilation process, and changes made to it at compile-time are not visible later on -at run-time. Instead you can access those values by accessing the 10th -slot of the return of caller: +at run-time. Instead you can access a flattened version of those values by +accessing the 10th slot of the return of caller: sub hints_hash { (caller(0))[10] } @@ -2172,7 +2172,7 @@ such as code references, as well as simple non-referential scalars. A flattened copy of the values written into the hash is stored with the code that was compiled while it was in effect, and is the copy available via the C<caller()> mechanism. This copy preserves simple -strings and numbers, but will not preserve more complex values +strings and numbers, but will not properly preserve more complex values like references. When putting items into C<%^H>, in order to avoid conflicting with other -- Perl5 Master Repository