home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5688 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!news.orst.edu!bionette.CGRB.ORST.EDU!hanusj
  3. From: hanusj@bionette.CGRB.ORST.EDU (Joe Hanus)
  4. Subject: Re: Help with variable interpolation inside s///
  5. Message-ID: <BtyzE0.Dx7@news.orst.edu>
  6. Keywords: variable interpolation, substitution
  7. Sender: usenet@news.orst.edu (Usenet News admin)
  8. Nntp-Posting-Host: cgrb.orst.edu
  9. Organization: Biological Computing Consortium, OSU, Corvallis, OR.
  10. References: <1992Aug27.203737.13356@CS.ORST.EDU> <1992Aug28.182857.9674@netlabs.com>
  11. Date: Wed, 2 Sep 1992 21:22:46 GMT
  12. Lines: 19
  13.  
  14. In article <1992Aug28.182857.9674@netlabs.com> lwall@netlabs.com (Larry Wall) writes:
  15. >In article <1992Aug27.203737.13356@CS.ORST.EDU> hanusj@storm.CS.ORST.EDU (Joe Hanus) writes:
  16. >:       s/$word/$word/gi;   # this is the line that's not working.
  17. >:       # It should find the word in $word regardless of case and 
  18. >:       # substitute the word in $word as it was located in the 
  19. >:       # dictionary
  20. >
  21. >I suspect you're running 4.019 or earlier-since this was supposedly fixed in
  22. >patch 20.  We're now at 4.035.
  23. >
  24. >Larry
  25.  
  26.  
  27. We are running perl version 4.035.  To verify this I ran
  28. /usr/bin/perl -v.  Any other suggestions?
  29.  
  30.  
  31. joe
  32. hanusj@storm.cs.orst.edu
  33.