RE: r11190 again! 0.2808_04 will not install in Strawberry Perl 5.10.0.2...
[email protected] ("Jan Dubois")
| Newsgroups | perl.module.build |
|---|---|
| Message-ID | <042e01c91781$404ce110$c0e6a330$@com> |
On Mon, 15 Sep 2008, Eric Wilhelm wrote:
> Any reason I can't use something like the following on win32?
>
> open(my $fh, '-|', $^X, @opts, '-e', $oneliner) or die $!;
> my $output = do {local $/; readline($fh)};
Yes, because you just would get an error:
"List form of pipe open not implemented"
Documented in perlport.pod:
open The "|" variants are supported only if ToolServer is installed.
(Mac OS)
open to "|-" and "-|" are unsupported. (Mac OS, Win32, RISC OS)
Opening a process does not automatically flush output handles on
some platforms. (SunOS, Solaris, HP-UX)
Cheers,
-Jan