Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Sorable freeze/thaw losing object methods

by BrowserUk (Pope)
on Nov 22, 2011 at 20:47 UTC ( #939540=note: print w/replies, xml ) Need Help??


in reply to Re^2: Storable freeze/thaw losing object methods
in thread Storable freeze/thaw losing object methods

How can I check the size of an object?

Check the size of the transmission:

my $toSend = freeze(\$command ); print length $toSend; $self->{channel}->send( $toSend ); ... my $received = $self->{channel}->receive_nb(); print length $received; my $command = thaw( $received );

But ikegami's probably hit the nail on the head. Have you used the class at the receiver?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: Storable freeze/thaw losing object methods
by unix_hacker_beard (Novice) on Nov 22, 2011 at 21:26 UTC
    Edit: Nevermind my original response to this post. I am indeed receiving the same length I am sending so I am still unsure how to proceed debugging this.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939540]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-12-10 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (159 votes). Check out past polls.