develooper Front page | perl.perl5.porters | Postings from June 2021

Re: RFC 0004 - defer {} syntax

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 17, 2021 19:25
Subject:
Re: RFC 0004 - defer {} syntax
Message ID:
20210617202456.7c2752ee@shy.leonerd.org.uk
On Thu, 17 Jun 2021 14:18:02 -0500
David Nicol <davidnicol@gmail.com> wrote:

> and at compile time, a SCOPE_EXIT phaser would attach its coderef to
> the exiting of the scope, encountered during run-time flow or not. Or
> alternately, activated by having encountered it during run-time flow.
> SCOPE_EXIT blocks if any (are active) would run before unlocalization
> of package vars.

"code ref"

"encountered or not"

You seem to be describing a different thing that is not `defer {}`.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | Thread Next


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