summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2020-04-27 21:54:05 +0100
committerDavid Mitchell <davem@iabyn.com>2020-04-27 21:54:05 +0100
commitd0b5de5644ac01ea2ccdbd8cbe7dd9c5fe225af4 (patch)
tree7354a376d10aef016b7aff22fe50a43db6e765bc
parent2abf7efcc0ff8978340af661cb333175a899a84e (diff)
downloadperl-d0b5de5644ac01ea2ccdbd8cbe7dd9c5fe225af4.tar.gz
Revert "docs: clarify effect of $^H, %^H, ${^WARNING_BITS}"
This reverts commit ee428a211d040dc56d9efc4a89c96886a398fc1c.
-rw-r--r--pod/perlvar.pod12
1 files changed, 0 insertions, 12 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 1d04f532f7..0d2da09773 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -1892,10 +1892,6 @@ It has the same scoping as the C<$^H> and C<%^H> variables. The exact
values are considered internal to the L<warnings> pragma and may change
between versions of Perl.
-Each time a statement completes being compiled, the current value of
-C<${^WARNING_BITS}> is stored with that statement, and can later be
-retrieved via C<(caller($level))[9]>.
-
This variable was added in Perl v5.6.0.
=item $OS_ERROR
@@ -2188,10 +2184,6 @@ This variable contains compile-time hints for the Perl interpreter. At the
end of compilation of a BLOCK the value of this variable is restored to the
value when the interpreter started to compile the BLOCK.
-Each time a statement completes being compiled, the current value of
-C<$^H> is stored with that statement, and can later be retrieved via
-C<(caller($level))[8]>.
-
When perl begins to parse any block construct that provides a lexical scope
(e.g., eval body, required file, subroutine body, loop body, or conditional
block), the existing value of C<$^H> is saved, but its value is left unchanged.
@@ -2240,10 +2232,6 @@ L<perlpragma>. All the entries are stringified when accessed at
runtime, so only simple values can be accommodated. This means no
pointers to objects, for example.
-Each time a statement completes being compiled, the current value of
-C<%^H> is stored with that statement, and can later be retrieved via
-C<(caller($level))[10]>.
-
When putting items into C<%^H>, in order to avoid conflicting with other
users of the hash there is a convention regarding which keys to use.
A module should use only keys that begin with the module's name (the