develooper Front page | perl.perl6.language.subs | Postings from September 2000

Re: IDEA: lexically scoped subs anyone

From:
David L. Nicol
Date:
September 29, 2000 13:22
Subject:
Re: IDEA: lexically scoped subs anyone
Message ID:
39D4F9D0.A8C2AEAE@kasey.umkc.edu
Dave Storrs wrote:
> 
> On 29 Sep 2000, Piers Cawley wrote:perl6-language@perl.org
> 
> > Is it possible? Advisable?
> 
>         I haven't seen it yet, but that doesn't mean it's not in there
> somewhere...there's a bunch of RFCs I haven't had time to read.  If it
> isn't there, it should be.  I think this is definitely a cool idea.
> 
>                                 Dave

it can be done with sub references.  With caller->eval it could be done
with a stub function that does 

	caller->eval{ &$subname }



-- 
                          David Nicol 816.235.1187 nicold@umkc.edu
      "A taste so good that we stand behind every bottle and can."



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About