home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / perl / 8033 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.3 KB  |  42 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!hubcap!ncrcae!ncrhub2!ncrgw2!psinntp!juliet!news
  3. From: jja@fnbc.com (Joseph Alotta)
  4. Subject: 2 way pipe sample program
  5. Message-ID: <1993Jan27.170454.2336@fnbc.com>
  6. Keywords: pipe
  7. Sender: news@fnbc.com
  8. Organization: First National Bank Of Chicago, Chicago IL, USA
  9. Date: Wed, 27 Jan 93 17:04:54 GMT
  10. Lines: 30
  11.  
  12. greetings,
  13.  
  14. sorry if this is a FAQ. 
  15.  
  16. i want to open a pipe to an interpretive
  17. kind of calculator program.
  18.  
  19. it take a few seconds to start it up, so i
  20. want to keep it going and feed it lines
  21. via perl and read back the answer.
  22.  
  23. i know there is something out there called
  24. open2 and probably and open3 by now, but
  25. i've never been able to figure out how
  26. to use it.
  27.  
  28. can some kind person share with me a simple
  29. sample program that does this sort of thing?
  30.  
  31.  
  32. joe.
  33.  
  34. --
  35. ==============================================================
  36. ! joe alotta                                    jja@fnbc.com !                                               
  37. !                                             (312) 732-3439 !
  38. !                                                            !
  39. ! "The main thing is to keep the main thing the main thing." !
  40. ! Dr. George Sweeney                                         !
  41. ==============================================================
  42.