home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!decwrl!spool.mu.edu!darwin.sura.net!convex!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: Piping to and from a unix command
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Message-ID: <1992Sep6.135811.1282@news.eng.convex.com>
- Date: Sun, 6 Sep 1992 13:58:11 GMT
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- References: <1992Sep5.000616.5940@walney.com>
- Nntp-Posting-Host: pixel.convex.com
- Organization: Convex Computer Corporation, Colorado Springs, CO
- Keywords: unix pipe perl
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 22
-
- From the keyboard of jimrutt@walney.com (Jim Rutt):
- :
- :
- :There's an intriguing aside in the O'Reilly & Assoc PERL book page 163
- :in the description of the Open function speaking of using the open
- :function to open a pipe to a unix command:
- :
- : "you may not have an open pipe command that pipes both in
- : and out, though it's easy to build using the _pipe_
- : and _fork_ commands."
- :
- :Unfortunately as a not very expereinced UNIXer and "C"er, fork and pipe
- :just aren't very intuitive for me yet.
-
- Check out open2.pl in the Perl library.
-
- --tom
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
- And don't tell me there isn't one bit of difference between null and space,
- because that's exactly how much difference there is. :-)
- --Larry Wall in <10209@jpl-devvax.JPL.NASA.GOV>
-