On 2002-11-07 at 15:28:14, Luke Palmer wrote:
> > From: "Mark J. Reed" <[EMAIL PROTECTED]>
> > Will something like that not be possible in Perl6?  
>                            ^^^^^^^^^^^^^^^^^^^^^^^^
> I'm afraid that statement is false for all values of "something" :)
Good point.  Erratum: for "possible", read "easy". :)

> Could you just look through the lexical scope of the object?
> 
>     for $this.MY.kv -> $k, $v {
>         print "$k: $v\n"
>     }
> 
> Or would you look through the class's lexical scope and apply it to
> the object?
> 
>     for keys $this.class.MY {
>         print "$_: $this.MY{$_}\n"
>     }
> 
Either of those would be sufficiently "easy".  Thanks.

-- 
Mark REED                    | CNN Internet Technology
1 CNN Center Rm SW0831G      | [EMAIL PROTECTED]
Atlanta, GA 30348      USA   | +1 404 827 4754

Reply via email to