home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!ncar!noao!amethyst!organpipe.uug.arizona.edu!argon!starkg
- From: starkg@argon.gas.uug.arizona.edu (Gavin E Stark )
- Newsgroups: comp.lang.perl
- Subject: Help with reading to and writing from program.
- Message-ID: <starkg.720939960@argon>
- Date: 5 Nov 92 05:06:00 GMT
- Sender: news@organpipe.uug.arizona.edu
- Organization: University of Arizona - Tucson, Arizona
- Lines: 15
-
-
- I'd like to be able to send input to a program and read the output from it.
- Unfortunately this doesn't seem to work:
-
- open(BLAH,"| someprogram |");
-
- I'd like to be able to send a single line to the BLAH handle and then loop
- and read lines coming from it. Is this possible?
-
-
- --
-
-
- Gavin Stark
- starkg@gas.uug.arizona.edu
-