Geoffrey Young wrote:
> so, I've been thinking a bit about this and I think I recall the
> original reasoning way back when...
> 
>   my $obj = $class->new();
>   $r->pnotes(OBJ => $obj);
> 
> I am almost certain that this was the original use case for pnotes as I
> dig into my mind and recall the time on the list where folks were like
> "wow!  we can pass a perl scalar around the request."  what this, um,
> feature allows users to do is alter the underlying object without
> re-storing it along the way:
> 
>   $obj->update_user();
>   # next guy to pull it from pnotes gets the current state

actually, that will happen anyway I guess... it's a feature of
references that will make that work regardless of whether we copy or
alias the scalar in pnotes.

so nevermind... my brane is starting to dissolve of late...

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to