|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Storable freeze/thaw losing object methodsby unix_hacker_beard (Novice) |
| on Nov 22, 2011 at 19:44 UTC ( #939524=perlquestion: print w/ replies, xml ) | Need Help?? |
|
unix_hacker_beard has asked for the
wisdom of the Perl Monks concerning the following question:
I am writing an IPC shell module to provide interprocess runtime hooks. I am using freeze and thaw from the Storable module to pass Command objects over a socket on localhost. Before freezing the object, these methods are available:
RETURN_IN_ORDER GetOptions DESTROY run AUTOLOAD ISA BEGIN PERMUTE isa new _init REQUIRE_ORDER However, after thawing, only AUTOLOAD and DESTROY are available. Here is the code for sending the frozen object over the socket (I've ensured send is working properly)
And for unthawing (again, I know receive_nb to work properly)
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||