I agree. RPC::PlServer needs fixing.

Tim.

On Wed, Jun 25, 2003 at 10:43:58AM +0100, Tony Bowden wrote:
> On Tue, Jun 24, 2003 at 10:04:10PM +0100, [EMAIL PROTECTED] wrote:
> > RPC::PlServer uses Storable.pm to serialize ("nfreeze()") and transport
> > the object to the remote client. "thaw()"'ing on the client does not return
> > an object because of stringification. RPC::PlServer checks for object ref's via 
> > '::' which stringified DB id's ('1') don't match.
> 
> Smells like a bug in RPC::PlServer to me. Even if $obj overloads to 1,
> ref $obj will still be the Class::Name.
> 
> Aside from that, checking for :: is dangerous anyway, as classes could be
> in a top level namespace ...
> 
> Tony

Reply via email to