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
goto in CORE::GLOBAL::exit #9010
Comments
From powerman@powerman.asdfGroup.comCreated by powerman@powerman.asdfgroup.comIn this case 'goto' doesn't work properly, and instead of jumping to the perl -e ' sub that_cgi_script { This example output: before buggy code I've found a workaround for this bug. In BEGIN block must be added no-op *CORE::GLOBAL::die = sub { and now this example work correctly and output: before buggy code I've no idea why my workaround is working, and why 'goto' doesn't work More details available here: http://perlmonks.org/?node_id=636089 Perl Info
|
From @cpansproutOn Fri Aug 31 09:11:00 2007, powerman@powerman.asdfGroup.com wrote:
Exiting a signal handler via goto is not supported. goto() can’t see the If errors in signal handlers work, why not goto? |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#45091 (status was 'open')
Searchable as RT45091$
The text was updated successfully, but these errors were encountered: