Skip to content

Commit

Permalink
Revert "docs: clarify effect of $^H, %^H, ${^WARNING_BITS}"
Browse files Browse the repository at this point in the history
This reverts commit ee428a2.
  • Loading branch information
iabyn committed Apr 27, 2020
1 parent 2abf7ef commit d0b5de5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pod/perlvar.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d0b5de5

Please sign in to comment.