You are viewing the version of this documentation from Perl 5.8.0. View the latest version
$EXCEPTIONS_BEING_CAUGHT
$^S

Current state of the interpreter. Undefined if parsing of the current module/eval is not finished (may happen in $SIG{__DIE__} and $SIG{__WARN__} handlers). True if inside an eval(), otherwise false.