Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Object Serialization Basics

by kappa (Chaplain)
on Apr 22, 2002 at 12:57 UTC ( #161042=note: print w/replies, xml ) Need Help??


in reply to Object Serialization Basics

Nice tutorial, but I'd like to add a warning:
If you want to send a Storable-serialized object to another machine via network, then you should use special network-safe method nstore. All other modules mentioned here serialize to text, which is not prone to byte-order and similar platform incompatibilities.

Replies are listed 'Best First'.
Re: Re: Object Serialization Basics
by Anonymous Monk on Jul 19, 2002 at 15:39 UTC
    You'll also want to note that Storable is not platform-independent using nstore across a network with Dec Alpha (64-bit) - see http://www.bitmechanic.com/mail-archives/modperl/Jul1999/0749.html and thread!
Re^2: Object Serialization Basics
by siracusa (Friar) on Jul 21, 2005 at 17:01 UTC
    If you are shipping blessed thingies across a network, also make sure that the classes that the thingies are blessed into are loaded (not just installed, but loaded into memory--"use"ed or "require"ed) on the receiving side. If not, the thawing process may fail.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161042]
help
Chatterbox?
[Discipulus]: shmem i'm searching it.. but failing i was sure was in Re: Let's Make PerlMonks Great Again! -- suggestions and dreams
erix recommends Vanished Kingdoms
[Corion]: shmem: Yeah, something like that. Not that that would be a solved issue. Simply process all events that come in from a single interface sequentially. Ah well.
[Discipulus]: their

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2017-05-23 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?