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

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!network.ucsd.edu!nic!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: newsclip vs. latest version
  5. Message-ID: <1992Jul24.183620.29340@netlabs.com>
  6. Date: 24 Jul 92 18:36:20 GMT
  7. References: <1992Jul23.233119.21823@fernwood.mpk.ca.us>
  8. Sender: news@netlabs.com
  9. Organization: NetLabs, Inc.
  10. Lines: 22
  11. Nntp-Posting-Host: scalpel.netlabs.com
  12.  
  13. In article <1992Jul23.233119.21823@fernwood.mpk.ca.us> mwm@fernwood.mpk.ca.us (Mike Meyer) writes:
  14. : I'm having trouble convincing newsclip to run. It is calling scanner
  15. : as articles come in, but appears never to leave them. I suspect the
  16. : problem may be that this perl is 4.0.1.4, at patch level 10.
  17. : Could someone confirm that newsclip requires features/bug fixes that
  18. : aren't in that patch level?
  19.  
  20. Yes, it uses eval {}, which is more recent than 4.010.  It could be
  21. replaced with an eval '', but it wouldn't run as fast.  The eval can
  22. be taken out entirely because it's there to catch the
  23.  
  24.     die "You should never see this\n";
  25.  
  26. which is just a short circuit and can be deleted, again at the expense
  27. of some overhead.
  28.  
  29. By the way, "newsclip" is a program of Brad Templeton's.  I did a
  30. s/newsclip/clip/g to mine and sent it out again--you probably only
  31. saw the first copy.
  32.  
  33. Larry
  34.