Tom Christiansen wrote:
> 
> The straightforward way to do that is quite simply:
> 
>     open(FH, "|foocmd thisfoo thatfoo|")
> 
> or for shell avoidance:
> 
>     open(FH, "|-|", "foocmd", "thisfoo", "thatfoo"))


Does this work now???? Or are you just suggesting this be added to Perl
6?

Quoth Camel-3, p. 752:


When starting a command with open, you must choose either input or
output: "cmd|" for reading or "|cmd" for writing. You many not use open
to start a command that pipes both in and out, as (currently) illegal
notation, "|cmd|", might appear to indicate.

Reply via email to