Skip to content

Commit d0b5de5

Browse files
committed
Revert "docs: clarify effect of $^H, %^H, ${^WARNING_BITS}"
This reverts commit ee428a2.
1 parent 2abf7ef commit d0b5de5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pod/perlvar.pod

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,10 +1892,6 @@ It has the same scoping as the C<$^H> and C<%^H> variables. The exact
18921892
values are considered internal to the L<warnings> pragma and may change
18931893
between versions of Perl.
18941894

1895-
Each time a statement completes being compiled, the current value of
1896-
C<${^WARNING_BITS}> is stored with that statement, and can later be
1897-
retrieved via C<(caller($level))[9]>.
1898-
18991895
This variable was added in Perl v5.6.0.
19001896

19011897
=item $OS_ERROR
@@ -2188,10 +2184,6 @@ This variable contains compile-time hints for the Perl interpreter. At the
21882184
end of compilation of a BLOCK the value of this variable is restored to the
21892185
value when the interpreter started to compile the BLOCK.
21902186

2191-
Each time a statement completes being compiled, the current value of
2192-
C<$^H> is stored with that statement, and can later be retrieved via
2193-
C<(caller($level))[8]>.
2194-
21952187
When perl begins to parse any block construct that provides a lexical scope
21962188
(e.g., eval body, required file, subroutine body, loop body, or conditional
21972189
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
22402232
runtime, so only simple values can be accommodated. This means no
22412233
pointers to objects, for example.
22422234

2243-
Each time a statement completes being compiled, the current value of
2244-
C<%^H> is stored with that statement, and can later be retrieved via
2245-
C<(caller($level))[10]>.
2246-
22472235
When putting items into C<%^H>, in order to avoid conflicting with other
22482236
users of the hash there is a convention regarding which keys to use.
22492237
A module should use only keys that begin with the module's name (the

0 commit comments

Comments
 (0)