in reply to storable $self
The first argument to a method call is a copy of the reference to the object. In
the call to Method() cannot change the caller's $obj.my $obj; # ... $obj->Method();
A more typical solution is to force the caller to use: $obj= $obj->Restore(); to show that the object is being replaced.
- tye (but my friends call me "Tye")
|
|---|