home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4909 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  711 b 

  1. Path: sparky!uunet!munnari.oz.au!mips!decwrl!sun-barr!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!purcell.ecn.purdue.edu!newlin
  2. From: newlin@purcell.ecn.purdue.edu (Johnny N.)
  3. Newsgroups: comp.lang.perl
  4. Subject: write
  5. Message-ID: <1992Jul23.155101.22025@noose.ecn.purdue.edu>
  6. Date: 23 Jul 92 15:51:01 GMT
  7. Sender: news@noose.ecn.purdue.edu (USENET news)
  8. Organization: Purdue University Engineering Computer Network
  9. Lines: 7
  10.  
  11. Is there any way to make write send its output to a buffer instead
  12. of a filehandle?  The only way that I could figure out to do this
  13. is to send the output to a temporary file and then read it back in.
  14. Needless to say, this is less than efficient.
  15.  
  16. -John
  17.  newlin@ecn.purdue.edu
  18.