On Thu, Apr 06, 2006 at 05:36:56PM -0600, Luke Palmer wrote:
: On 3/27/06, Larry Wall <[EMAIL PROTECTED]> wrote:
: > The p5-to-p6 translator will turn
: >
: > local $x;
: >
: > into
: >
: > temp undefine $x;
:
: Are you sure that that's not:
:
: undefine temp $x;
:
: It seems to me that the other way would undefine $x and then temporize it.
Either way works. Remember I just said: "(Well, plus the notion that,
when applied to a mutator, the save/restore instruction is passed
on to the mutatee to save itself before the mutation, not after.)"
And I'd say undefine is definitely a mutator even if you don't call it
with .= syntax. All of these probably end up doing the same thing:
(temp $x).undefine
temp $x.undefine
(temp $x).=undefine
temp $x.=undefine
temp($x .= undefine)
temp($x = undef)
temp $x = undef
Larry