Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Send/receive array through IO::Socket?by isotope (Deacon) |
on Dec 01, 2005 at 20:38 UTC ( [id://513427]=note: print w/replies, xml ) | Need Help?? |
Your big picture problem is that you need to serialize your data before passing it along -- sockets know only a series of bits, not data structures. As suggested before, YAML is an excellent choice for most uses. Perhaps the more traditional method is Storable, but there are plenty of choices available.
--isotope
In Section
Seekers of Perl Wisdom
|
|