in reply to opening pipe in windows

Opening a pipe to yourself is not supported on Windows. See the section on open in perlport.