At 2:10 PM -0400 9/25/04, Chip Salzenberg wrote:
According to Dan Sugalski:
 > Leaf subs and methods can know [their call paths], if we stipulate
that vtable methods are on their own, which is OK with me.

So, given this sub and tied $*var:

   sub getvar { my $i = rand; $*var }

the FETCH method implementing $*var might not be able to see $i?
Which implies that there may be no pad and $i could be in a register?

Yeah, I think that's OK. I'm certainly OK with it, though there is an appeal to introspection. (Since you might want to fiddle with things in a debugger)
--
Dan


--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to