develooper Front page | perl.perl6.language | Postings from March 2005

Re: &wrap, &call and goto &sub

Thread Previous
From:
Autrijus Tang
Date:
March 16, 2005 04:48
Subject:
Re: &wrap, &call and goto &sub
Message ID:
20050316124812.GB89891@aut.dyndns.org
On Wed, Mar 16, 2005 at 08:46:03PM +0800, Autrijus Tang wrote:
> Does that form still work with Perl 6?  Or should I use this?
> 
>     { local &_ := &ok; call($lhs == $rhs, $todo); }

s/local/my/ of course. :-)

Thanks,
/Autrijus/

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