[Israel.pm] how to send hash from client to server?
rin_liat at netvision.net.il
Fri Aug 6 10:56:44 PDT 2004
Hellow again ,
I first apply it with Storable and it worked.
But now i'm using IO::Socket instead of Socket, and when sending the
I get error "Magic number checking on storable string failedat...."
And it points on the "thaw" part .
So now if i could convert the hash to a string , i could send it by the
"printf" function to the otherside.
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On Behalf Of
Sent: Friday, August 06, 2004 4:01 PM
To: perl at perl.org.il
Subject: Re: [Israel.pm] how to send hash from client to server?
How are you trying to send data-structures, and why not using Storable?
Otherwise, take a look at XML::* (XML::Simple is a good start).
Send code and more details because you're not being very specific...
> I need to send hash variable from client to server, using IO::Socket.
> The connection exists and i succeeded to move data between them but not
> kind of hash.
> If someone knows how to convert 'hash' to 'string' it will be also very
> Perl mailing list
> Perl at perl.org.il
Perl mailing list
Perl at perl.org.il
More information about the Perl