A self-pipe is not supported under Windows Perl. See perlport:
open to |- and -| are unsupported. (Win32, RISC OS)In reply to Re: "- |" pipe option doesn't work
by Corion
in thread "- |" pipe option doesn't work
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |