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

Re: &wrap, &call and goto &sub

Thread Previous | Thread Next
From:
Larry Wall
Date:
March 16, 2005 10:51
Subject:
Re: &wrap, &call and goto &sub
Message ID:
20050316185118.GI27352@wall.org
On Thu, Mar 17, 2005 at 02:38:45AM +0800, Autrijus Tang wrote:
: On Wed, Mar 16, 2005 at 10:24:16AM -0800, Larry Wall wrote:
: > On Wed, Mar 16, 2005 at 08:46:03PM +0800, Autrijus Tang wrote:
: > : Is using wrap/call the correct choice here, or is there another way
: > : to do it that I missed?
: > 
: > wrap/call should do what you want there, but if you want to hack in
: > &func.goto, that'd be good too.
: 
: Done as r804.  It also passes the expected context ("want") of its
: original caller to &func, which I assume is the correct behaviour.

Yes.

Larry

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