in reply to Re^2: Named pipes on Win32
in thread Named pipes on Win32
You can also use Peek() on anonymous pipes, though you will need to access the underlying API PeekNamePipe() via Win32::API. Just pass the anonymous pipe handle in place of the named pipe handle and it works fine.
It would not be a huge problem to use this to allow select work with anonymous pipes on Win32. It would just require someone who is prepared to jump through the p5p hoops to go in and implement it.
My own experience of attempting to use Win32::Pipe has been less than satisfactory, mostly because of the limited set of the NamedPipe API set that it supports. I found it easier to use Win32::API to gain access to the underlying API's.
|
|---|