in reply to Transfer a hash using client and server in perl

A maintainable and easily testable way would be to use JSON::Any on both ends and then transfer the data as JSON structures.

A potentially faster, but not easily inspectable way would be to use Storable, which uses a format more native to Perl and a binary storage format and hence could be quicker to transfer. Also, Storable can (try to) transfer code references, objects and closures to the other end.

  • Comment on Re: Transfer a hash using client and server in perl