home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7563 < prev    next >
Encoding:
Text File  |  1992-12-21  |  985 b   |  24 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!ftpbox!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
  3. From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
  4. Subject: Re: copy() primitive?
  5. Message-ID: <mcook.724909509@fendahl.dev.cdx.mot.com>
  6. Sender: news@merlin.dev.cdx.mot.com (USENET News System)
  7. Nntp-Posting-Host: fendahl.dev.cdx.mot.com
  8. Organization: Motorola Codex, Canton, Massachusetts
  9. References: <1gqkqtINN8ne@perv.hal.COM> <1992Dec20.060858.7581@ftpbox.mot.com>
  10. Date: Mon, 21 Dec 1992 03:45:09 GMT
  11. Lines: 11
  12.  
  13. mmuegel@next3.corp.mot.com (Michael S. Muegel) writes:
  14.  
  15. >If I am doing something like cp often I always write a function to do the
  16. >work since I am a stickler for error detection.
  17.  
  18. Yes, me too.  It would seem natural that operations like open() and print()
  19. should produce fatal errors if they couldn't do what you asked.  How often do
  20. you want to do anything other than die when open() fails?  How often do you
  21. want to ignore an I/O error?  Hm...
  22.  
  23. Michael.
  24.