David L. Nicol wrote: > > Do you agree that they shouldn't get tacked on until execution passes their > definition, unlike END blocks which get appended when they are parsed? Yes, absolutely; that is an important point. END blocks are different because there is only ever one activation record for the file (ignoring threads); lexicals in the file are known at compile time, and so are visible to the END block. Lambdas deserve post blocks too. :-) -- John Porter You can't keep Perl6 Perl5.
- POST blocks (like END, but in a sub or sub-like scope) David L. Nicol
- Re: POST blocks (like END, but in a sub or sub-like sc... John Porter
- Re: POST blocks (like END, but in a sub or sub-like sc... Nicholas Clark
- Re: POST blocks (like END, but in a sub or sub-like sc... David L. Nicol
- Re: POST blocks (like END, but in a sub or sub-lik... Nicholas Clark
- Re: POST blocks (like END, but in a sub or sub-like sc... Bart Lateur