Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I transfer a hash using client and server in Perl?

I just want to transfer (send or receive) a hash from client to server.

Can you tell me which is a preferable way in Perl or can you suggest any CPAN modules?

like image 244
abubacker Avatar asked Dec 17 '22 02:12

abubacker


1 Answers

You can encode the hash using JSON on the client side and send the encoded string to the server.

Then, decode the received string (again using JSON) on the server side and you can get back your hash.

like image 70
Kapil D Avatar answered Jan 12 '23 00:01

Kapil D