in reply to Replicating objects across a socket

And yes, taking into consideration what rjray said, you'll get what you want if you just serialize your object via Data::Dumper (or Storable network-safe n* subs, or FreezeThaw, or even XML::Dumper, or just Data::Serializer), transfer it via a socket and deserialize on the other side (requiring needed packages, of course).
Hm, I got interested and found one more serializer (Data::Denter) I never used before :)) It's from Brian Ingerson of the mighty Inline.pm fame, so it's definitely worth a try.
  • Comment on Re: Replicating objects across a socket