Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perl #92446] fix recursion introduced in original patch
Some of the other interfaces format_arg() calls can cluck(), confess() or longmess(). Avoid infinite recursion in those cases. Also, instead of die() on format_arg recursion, fallback to basic CLASS=HASH(...) output. This fixes issues with CGI-Application, Devel-TrackSIG and Class-Std. - for CGI-Application we ended up calling can(CARP_TRACE) on a CGI.pm object, which instead of returning false, croak()s - Devel-TrackSIG calls Carp::longmess when we set the __DIE__ handler
- Loading branch information
Showing
2 changed files
with
47 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters