in reply to Networking without a network

You are probably been affected by some kind of buffering that does not happen when talking to a real socket.

Instead of using IPC::Open2::open2, you can try rolling your own version of open2 on top of socketpair (IPC::Open2 uses pipes instead of sockets).

Replies are listed 'Best First'.
Re^2: Networking without a network
by Anonymous Monk on Feb 23, 2010 at 13:09 UTC
    Thanks for the suggestion, salva.
    And when you say
    rolling your own version of open2
    does that involve some C programming?
    (Then I will be out on even thinner ice than I am now!)
    /L
      You can do it in Perl. perlipc has a sample of socketpair usage.