Path: utzoo!attcan!uunet!mcsun!hp4nl!ruuinf!cs.ruu.nl From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.lang.perl Subject: pipe (was: Re: statfs) Message-ID: <2507@ruuinf.cs.ruu.nl> Date: 22 Feb 90 11:08:28 GMT References: <7123@jpl-devvax.JPL.NASA.GOV> Sender: news@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 17 Supersedes: <2505@ruuinf.cs.ruu.nl> In-reply-to: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) In article <7123@jpl-devvax.JPL.NASA.GOV>, lwall@jpl-devvax (Larry Wall) writes: `It could be handled by syscall, presuming you have syscall. I would consider `adding it in if I decided that I could easily enhance the portability of `Perl scripts by doing so--that is, if there are several ways to do it `on different OS's and perl can present a single interface on all those `machines. This is the primary reason I added mkdir and rmdir--some machines `have the system call and some have to call /bin/mkdir and /bin/rmdir. This sounds like a good reason to supply a pipe command. You can't do this with syscall, on some machines you can get away with socketpair, but if you don't have that, you are lost. Suggested syntax: pipe (HANDLE1, HANDLE2). -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31-30-531806 Uucp: uunet!mcsun!hp4nl!ruuinf!piet Telefax: +31-30-513791 Internet: piet@cs.ruu.nl (*`Pete')