Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I am trying to open up a pipe in my perl script (perl in windows, activeperl) but it's giving an error like '-' is not recognized as an internal or external command, operable program or batch file. Opening pipe this way open(F,"-|") for reading. Any idea why it's erroring out? Or is it not supported in Windows? Please help. Thanks

Replies are listed 'Best First'.
Re: opening pipe in windows
by Corion (Patriarch) on Nov 27, 2009 at 22:50 UTC

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

Re: opening pipe in windows
by keszler (Priest) on Nov 27, 2009 at 23:12 UTC
Re: opening pipe in windows
by morgon (Priest) on Nov 28, 2009 at 00:26 UTC