develooper Front page | perl.perl5.porters | Postings from July 2020

Re: try/catch and CLEANUP/FINALLY/&c.

Thread Previous
From:
Eric Brine
Date:
July 21, 2020 00:26
Subject:
Re: try/catch and CLEANUP/FINALLY/&c.
Message ID:
CALJW-qFWkq82Lty3fe_fr+uy+is0OeCbAFys5gw1nPTheFEgWg@mail.gmail.com
On Sun, Jul 19, 2020 at 4:31 AM Branislav ZahradnĂ­k <happy.barney@gmail.com>
wrote:

> You cannot trigger CLEANUP block by "undef $guard"
>

Conversely, you can't cancel a CLEANUP block using $guard->dismiss;

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About