home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5585 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  916 b 

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!usc!news!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Help with variable interpolation inside s///
  5. Keywords: variable interpolation, substitution
  6. Message-ID: <1992Aug28.182857.9674@netlabs.com>
  7. Date: 28 Aug 92 18:28:57 GMT
  8. References: <1992Aug27.203737.13356@CS.ORST.EDU>
  9. Sender: news@netlabs.com
  10. Organization: NetLabs, Inc.
  11. Lines: 10
  12. Nntp-Posting-Host: scalpel.netlabs.com
  13.  
  14. In article <1992Aug27.203737.13356@CS.ORST.EDU> hanusj@storm.CS.ORST.EDU (Joe Hanus) writes:
  15. :       s/$word/$word/gi;   # this is the line that's not working.
  16. :       # It should find the word in $word regardless of case and 
  17. :       # substitute the word in $word as it was located in the 
  18. :       # dictionary
  19.  
  20. I suspect you're running 4.019 or earlier-since this was supposedly fixed in
  21. patch 20.  We're now at 4.035.
  22.  
  23. Larry
  24.