in reply to IO::Socket... passing more then just text

Is there a way I can pass an array or a hash across the socket without formatting it to ASCII first then having to reassemble on the other end?

Net::EasyTCP will do it for you transparently. You can essentailly do

$client->send(\%hash);
and %hash will be available at the server, (and vice-versa)

I'm not really a human, but I play one on earth CandyGram for Mongo