in reply to Send/receive array through IO::Socket?

Sounds like you need YAML.

Phil

  • Comment on Re: Send/receive array through IO::Socket?

Replies are listed 'Best First'.
Re^2: Send/receive array through IO::Socket?
by wolfger (Deacon) on Dec 01, 2005 at 20:39 UTC

    I forgot to mention that this is on a server I don't own, and getting modules installed is possible, but very difficult... So much so that I'd rather remain ugly than go through the process of getting another module. :-)

      YAML is Pure Perl, so you don't need any special permissions or tools to install it. But if you still want an alternative, I once wrote a simple but efficient serializer/deserializer. You'll need to add something to know when you've reached the end of the structure.