Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__WARN__ handler calls itself recursively #100

Open
karenetheridge opened this issue Dec 5, 2016 · 2 comments
Open

__WARN__ handler calls itself recursively #100

karenetheridge opened this issue Dec 5, 2016 · 2 comments

Comments

@karenetheridge
Copy link

karenetheridge commented Dec 5, 2016

I did use Devel::Confess twice in my codebase and ended up dying with: Deep recursion on subroutine "Devel::Confess::_warn" at .../IO/All.pm line 148. The warn handler is being overridden twice, resulting in a goto to ourselves -- if the warn handler is to be kept, a != check needs to be done first!

@wchristian
Copy link
Contributor

Some discussion on that in #70

@karenetheridge karenetheridge changed the title what is the purpose of the __WARN__ handler override? __WARN__ handler calls itself recursively Dec 5, 2016
@karenetheridge
Copy link
Author

I updated the title and description to match my actual problem, leaving the question of the handler's necessity to the other ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants