Skip to content

Commit 63314e4

Browse files
committed
fix the variable name in the doc for ${^MAX_NESTED_EVAL_BEGIN_BLOCKS}
This seems to have existed since 741a5c7 (the initial commit), so it definitely looks like a typo that wasn't spotted before.
1 parent b9a78e5 commit 63314e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perlvar.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,8 @@ fact the above code is equivalent to
643643
BEGIN { $n+=2 }
644644
BEGIN { $n+=1 }
645645

646-
which makes it obvious why a ${^MAX_EVAL_BEGIN_DEPTH} of 1 would not
647-
block this code.
646+
which makes it obvious why a ${^MAX_NESTED_EVAL_BEGIN_BLOCKS} of 1
647+
would not block this code.
648648

649649
Only C<BEGIN>'s executed inside of an C<eval> or C<require> (possibly via
650650
C<use>) are affected.

0 commit comments

Comments
 (0)