On Wed, 2006-03-15 at 12:23 -0500, Geoffrey Young wrote:
> I actually thing that would be somewhat common. and as I understand things,
> the fix would require the middle step to be
>
> -- next handler
> my $o = $r->pnotes('foo');
> $o->set(bar => 1); # sets $o->{_bar} = 1
> $r->pnotes(foo => $o);
>
> in order for $o to maintain it's internal state. is that right? if so, I
> don't like that very much.
I agree, cloning is not the answer. What you want really want here is
for it to behave like a normal perl variable assignment, i.e. if you
assign a reference, it stays a reference, and if you assign a value,
it's just a value, not a double-secret-probation reference. I don't
think it's a good idea to change this unless it can be done that way.
- Perrin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]