home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / perl / 6881 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1014 b 

  1. Path: sparky!uunet!ukma!wupost!usc!news!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Implicit close of piped file handles
  5. Message-ID: <1992Nov7.003638.25903@netlabs.com>
  6. Date: 7 Nov 92 00:36:38 GMT
  7. References: <MEISSNER.92Oct28222939@curley.osf.org>
  8. Sender: news@netlabs.com
  9. Organization: NetLabs, Inc.
  10. Lines: 19
  11. Nntp-Posting-Host: scalpel.netlabs.com
  12.  
  13. In article <MEISSNER.92Oct28222939@curley.osf.org> meissner@osf.org (Michael Meissner) writes:
  14. : Naively, I expected that perl would wait for the child to terminate
  15. : when closing the pipe in the exit.  Obviously, a simple work around is
  16. : to put:
  17. :     close (STDERR);
  18. :     close (STDOUT);
  19. : just before the exit, but I think that perl's exit should do it
  20. : automatically.
  21.  
  22. If I did that, how would you get the other behavior when you wanted it?
  23.  
  24. : You are in a twisty little passage of standards, all conflicting.
  25.  
  26.     You are in a twisty little passage of standards, all on someone
  27.     else's bookshelf.
  28.  
  29. Larry
  30.