home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!hubcap!ncrcae!ncrhub2!ncrgw2!psinntp!juliet!news
- From: jja@fnbc.com (Joseph Alotta)
- Subject: 2 way pipe sample program
- Message-ID: <1993Jan27.170454.2336@fnbc.com>
- Keywords: pipe
- Sender: news@fnbc.com
- Organization: First National Bank Of Chicago, Chicago IL, USA
- Date: Wed, 27 Jan 93 17:04:54 GMT
- Lines: 30
-
- greetings,
-
- sorry if this is a FAQ.
-
- i want to open a pipe to an interpretive
- kind of calculator program.
-
- it take a few seconds to start it up, so i
- want to keep it going and feed it lines
- via perl and read back the answer.
-
- i know there is something out there called
- open2 and probably and open3 by now, but
- i've never been able to figure out how
- to use it.
-
- can some kind person share with me a simple
- sample program that does this sort of thing?
-
-
- joe.
-
- --
- ==============================================================
- ! joe alotta jja@fnbc.com !
- ! (312) 732-3439 !
- ! !
- ! "The main thing is to keep the main thing the main thing." !
- ! Dr. George Sweeney !
- ==============================================================
-