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
die() a NOP after require() #4010
Comments
From ilya@math.ohio-state.eduOuph, this one took many hours to diagnose... Here is the scoop: In many situations doing die() after a require() is a kinda no-op. Currently I can reproduce only one such situation: perl_call_*() without G_EVAL called inside eval {}, but I believe many other contexts behave similarly. Details of the control flow with the bug present: perl_call_*() does not Example: dummy::callit() is an XSUB: ==================================================== PUSHMARK(SP); MODULE = dummy PACKAGE = dummy void
|
From [Unknown Contact. See original ticket]Since doing croak() will call a die() after require Carp::Heavy, the From eval {} [Un]fortunately, all XSUBs from Perl distribution which call Perl There is only one exception - DProf. However, (due to some DProf perl -d:Dprof -wle " Hope this helps, |
Migrated from rt.perl.org#7020 (status was 'open')
Searchable as RT7020$
The text was updated successfully, but these errors were encountered: