Glenn Linderman wrote: > > Cleanup is a nice word, but maybe sometimes you want to do something that > doesn't really fit the connotation of cleaning up. Whereas "always" just says > when it is done. > > return ( $stuff, $morestuff, $whatever ) always close F; That doesn't look like a block to me. What it *does* look like is the statement modifier form of if/unless, the difference being that it always permits the statement to execute, regardless of the value of the predicate. But under that interpretation, it doesn't happen at sub exit, even when appended to return(): return <F> always close F; # statement modifier? would do the wrong thing. I wonder if it shouldn't rather be return <F>; always { close F } # a catchy block. -- John Porter You can't keep Perl6 Perl5.
- Re: assign to magic name-of-function variable instead of... Damian Conway
- Re: assign to magic name-of-function variable inste... Jarkko Hietaniemi
- Re: assign to magic name-of-function variable instead of... John Porter
- Re: assign to magic name-of-function variable inste... David L. Nicol
- Re: assign to magic name-of-function variable instead of... abigail
- Re: assign to magic name-of-function variable instead of... abigail
- Re: assign to magic name-of-function variable instead of... David L. Nicol
- Re: assign to magic name-of-function variable instead of... Glenn Linderman
- Re: assign to magic name-of-function variable instead of... Damian Conway
- Re: assign to magic name-of-function variable inste... Edward Peschko
- Re: assign to magic name-of-function variable inste... Glenn Linderman
- Re: assign to magic name-of-function variable inste... Johan Vromans
- Re: assign to magic name-of-function variable instead of... abigail
- Re: assign to magic name-of-function variable instead of... James Mastros
- Re: assign to magic name-of-function variable instead of... John Porter
- Re: assign to magic name-of-function variable instead of... Tony Olekshy
- Re: assign to magic name-of-function variable inste... Glenn Linderman