[EMAIL PROTECTED] wrote:
>
> use End;
>
> { my $foo = end {print "Leaving the block\n"};
> ...
> last; # Prints "Leaving the block\n".
> ...
> }
Yep, that's *perfect*, for a proof of concept.
--
John Porter
- Re: assign to magic name-of-function variable instead of &... Branden
- Re: assign to magic name-of-function variable instead of &... Simon Cozens
- Re: assign to magic name-of-function variable instead of &... Branden
- Re: assign to magic name-of-function variable instead... James Mastros
- Re: assign to magic name-of-function variable ins... John Porter
- Re: assign to magic name-of-function variable ins... Damian Conway
- Re: assign to magic name-of-function variable... John Porter
- Re: assign to magic name-of-function variable... Damian Conway
- Re: assign to magic name-of-function vari... John Porter
- Re: assign to magic name-of-function... David L. Nicol
- Re: assign to magic name-of-function vari... Glenn Linderman
- Re: assign to magic name-of-function... John Porter
- Re: assign to magic name-of-function vari... Damian Conway
- Re: assign to magic name-of-function... Edward Peschko
- Re: assign to magic name-of-function... abigail
