Consider using Win32::Socketpair instead.
The start of some sanity?
In reply to Re: Can't get it working: Bidirectional Pipe on Windows by BrowserUk in thread Can't get it working: Bidirectional Pipe on Windows by rovf