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

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!usc!news!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Perl bug using read
  5. Message-ID: <1992Nov7.001313.25650@netlabs.com>
  6. Date: 7 Nov 92 00:13:13 GMT
  7. References: <9830012@hpfcso.FC.HP.COM> <1992Oct29.141034.2649@dcs.qmw.ac.uk> <MERLYN.92Oct29095217@romulus.reed.edu>
  8. Sender: news@netlabs.com
  9. Organization: NetLabs, Inc.
  10. Lines: 25
  11. Nntp-Posting-Host: scalpel.netlabs.com
  12.  
  13. In article <MERLYN.92Oct29095217@romulus.reed.edu> merlyn@ora.com (Randal L. Schwartz) writes:
  14. : The number and string value of a scalar are held separately.  Ideally,
  15. : every assignment to a string invalidates the number, and vice versa.
  16. : But there have been bugs in the past where the cache was not properly
  17. : blown, and this is probably an example of that.
  18.  
  19. Bingo.
  20.  
  21. : Don't expect a patch for 4.035 from Larry on this... He's too deep
  22. : into Perl 5.0, so we'll have a whole new set of bugs to clean. :-)
  23.  
  24. As it happens, I'd carried this particular bug over.  It'll be fixed in 5.
  25.  
  26. : (Larry tells me that nearly every line of Perl 5.0 is *new*.)
  27.  
  28. If you count "heavily munged" as "new"...
  29.  
  30. Essentially, the tokener is about half munged, the parser is totally new
  31. except for some of the yacc grammar, and the run-time system is an
  32. unrecognizable transmogrification of the old, with maybe 1/3 new code.
  33. So far it actually parses the entire TEST program, and executes the
  34. first 20 lines or so before blowing up.  When I get it back to where
  35. it'll pass the test suite, then I can *really* start having fun.
  36.  
  37. Larry
  38.