home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!wupost!usc!news!netlabs!lwall
- From: lwall@netlabs.com (Larry Wall)
- Newsgroups: comp.lang.perl
- Subject: Re: Implicit close of piped file handles
- Message-ID: <1992Nov7.003638.25903@netlabs.com>
- Date: 7 Nov 92 00:36:38 GMT
- References: <MEISSNER.92Oct28222939@curley.osf.org>
- Sender: news@netlabs.com
- Organization: NetLabs, Inc.
- Lines: 19
- Nntp-Posting-Host: scalpel.netlabs.com
-
- In article <MEISSNER.92Oct28222939@curley.osf.org> meissner@osf.org (Michael Meissner) writes:
- : Naively, I expected that perl would wait for the child to terminate
- : when closing the pipe in the exit. Obviously, a simple work around is
- : to put:
- :
- : close (STDERR);
- : close (STDOUT);
- :
- : just before the exit, but I think that perl's exit should do it
- : automatically.
-
- If I did that, how would you get the other behavior when you wanted it?
-
- : You are in a twisty little passage of standards, all conflicting.
-
- You are in a twisty little passage of standards, all on someone
- else's bookshelf.
-
- Larry
-