[Israel.pm] how to send hash from client to server?
liat
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
'freezed' data,
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.
Thanks
Liat
-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On Behalf Of
Yuval Yaari
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...
--Yuval
liat said:
>
> Hellow,
> 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
> helpful.
> Thanks
> Liat
>
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl
More information about the Perl
mailing list