develooper Front page | perl.perl5.porters | Postings from August 2001

END {} blocks run in perl_run

Thread Next
Arthur Bergman
August 10, 2001 06:25
END {} blocks run in perl_run
Message ID:

Why does perl_run and not perl_destruct call the PL_endav CVs? This makes
embeded applications which never perl_run only call_sv never get to run the
END blocks.

I discovered this when disabling END blocks for threads, but discovered that
you realy don't need to since the thread is called in a call_sv and never
does a perl_run().

If noone minds I can submit a patch that moves END block execution to


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About