home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!panther!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
- From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
- Subject: Re: Is this a perl bug?
- Message-ID: <mcook.724908792@fendahl.dev.cdx.mot.com>
- Sender: news@merlin.dev.cdx.mot.com (USENET News System)
- Nntp-Posting-Host: fendahl.dev.cdx.mot.com
- Organization: Motorola Codex, Canton, Massachusetts
- References: <9212111642.AA27958@brimstone.unipalm.co.uk> <1992Dec12.072651.653@netlabs.com> <mcook.724207619@fendahl.dev.cdx.mot.com> <1992Dec14.175649.22784@netlabs.com>
- Date: Mon, 21 Dec 1992 03:33:12 GMT
- Lines: 19
-
- lwall@netlabs.com (Larry Wall) writes:
-
- >: And open(FH,"|-",'cat',$foo) could be like open(FH,"|cat $foo"), except that
- >: it would be done directly via exec, not via "sh -c".
-
- >I don't see the point, when
-
- > open(FH, "|-") || exec 'cat', $foo;
-
- >does the same thing. In fact, so does
-
- > open(FH, "|cat $foo");
-
- >as long as $foo contains no shell metacharacters.
-
- Yes, you're right, of course.
- It just seems so natural...
-
- Michael.
-