Mark-Jason Dominus <[EMAIL PROTECTED]> wrote: : :> Well, in principle we distinguish between cases where the magic is tied :> to the name (eg $!) and to the value (eg $a = $!). Is the problem here :> that tying acts as if it ties to the name? : :No, just the opposite. The problem is that tying acts as if it ties :to the value.
Hmm, I hadn't realised we were talking about tied aggregates, but I disagree: storing undef to an existing magic variable is the 'name' style localisation, since we don't want to throw away the existing magic; replacing the current SV with a fresh one is the 'value' style. Maybe, then, the problem is that our aliasing is too tight: that C<local $_> should break the connection between $_ and the variable it aliases (unlike C<$_ = "foo">, which we need lvaluable). Hugo
