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
Interrelations of DESTROY and eval are not well documented #7768
Comments
From porton@ex-code.comCreated by porton@ex-code.comThis is a bug report for perl from porton@ex-code.com, ----------------------------------------------------------------- The questions answer to which seems missing in Perl docs is: Consider code: eval { What is now $@? I'd like if ($@ eq "1") after this eval block (outer object to allow Perl Info
|
From perl5-porters@ton.iguana.beIn article <rt-3.0.11-33940-106489.16.0611746958661@perl.org>,
Sorry, it won't do what you want exactly. dies in DESTROY append "\t(in cleanup)error message" to the existing $@. I agree with you that it deserves a more highlevel explanation in a more |
The RT System itself - Status changed from 'new' to 'open' |
From ajs@ajs.comOn Wed, 2005-01-26 at 15:24, Ton Hospel wrote:
There are TONS of edge cases (and not so edge cases) around eval/die $start = time(); Of course, this fails (exits in the full 5 seconds) unless you move the I really wish at times that Perl had a safe eval that you could -- |
From charles.e.derykus@boeing.com
eval {
If the child wait is the culprit, I'm confused why this behaves differently: # my $cmd = IO::File->new("sleep 5|"); The 2 second timeout works as expected now; whereas, the potentially dueling duo -- |
From @cpansproutThis is now documented in perl5140delta, but it still needs to be |
From @jkeenanOn Sat Apr 30 22:49:35 2011, sprout wrote:
Is this the section of perl5140delta you were referring to? ########## The protocol for unwinding the C stack at the last stage of a die has (I ask because this RT number is not explicitly referenced in that Where else should this documentation go (so that we can close the ticket)? Thank you very much. |
From zefram@fysh.orgJames E Keenan via RT wrote:
It should be described in perlguts. -zefram |
Migrated from rt.perl.org#33940 (status was 'open')
Searchable as RT33940$
The text was updated successfully, but these errors were encountered: