tember 2002 16:20
> To: Jeff AA
> Cc: [EMAIL PROTECTED]
> Subject: RE: Programming pipes to and from another program
>
>
>
>
> >If *nix, look at help for the open3 function. Attached as a
> text file is
> >
> >the little run class that I use to do
>If *nix, look at help for the open3 function. Attached as a text file is
>
>the little run class that I use to do this.
>
>Here is an example of how to use this class to encapsulate GPG, where
>the passphrase gets written to stdin of the child process, and the
>results are reaped from the child
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 8:52 AM
> To: [EMAIL PROTECTED]
> Subject: Programming pipes to and from another program
>
> ...
> Is there a simple (or even complex) way to open a tw
gt; From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 25 September 2002 13:52
> To: [EMAIL PROTECTED]
> Subject: Programming pipes to and from another program
>
>
> Hi there,
>
> I hope this is a trivial newbie problem:
>
> I know how to open a pipe to anot
Hi there,
I hope this is a trivial newbie problem:
I know how to open a pipe to another program:
open (OUT, "|perl .\\bogus.pl") or warn "Unable to open pipe to
bogus.pl\n";
print OUT "Stuff\n";
And I know how to open a pipe from another program:
open (IN, "perl .\\bogus.pl|")