Skip to content

Commit afded0c

Browse files
leonerdkhwilliamson
authored andcommitted
Document that $^S is 1 inside a try block
1 parent 793b408 commit afded0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pod/perlvar.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ Current state of the interpreter.
18401840
$^S State
18411841
--------- -------------------------------------
18421842
undef Parsing module, eval, or main program
1843-
true (1) Executing an eval
1843+
true (1) Executing an eval or try block
18441844
false (0) Otherwise
18451845

18461846
The first state may happen in C<$SIG{__DIE__}> and C<$SIG{__WARN__}>

0 commit comments

Comments
 (0)