develooper Front page | perl.perl6.language | Postings from July 2002

Re: What's MY.line?

Thread Previous | Thread Next
From:
Melvin Smith
Date:
July 10, 2002 14:33
Subject:
Re: What's MY.line?
Message ID:
5.1.0.14.2.20020710172504.03336940@pop.mindspring.com
At 04:24 PM 7/10/2002 +0100, pdcawley@bofh.org.uk wrote:
>Dan Sugalski <dan@sidhe.org> writes:
>
> > At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
> > >    3. Is C<%MY> intended to reflect the PAD?
> >
> > Yes.
>
>Hey! How's this for a scary thought:
>
>    $continuation.the_pad
>
>I'll get my coat.

Hah, good try!

I think this would be easy for Parrot. A continuation object will
have all of its context encapsulated already, including the lexical pad
stack.

Assuming the existence of this mystical beast, it could work like:

%continuation.the_pad{'$foo'}

-Melvin




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