home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5711 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.6 KB

  1. Path: sparky!uunet!crdgw1!newsun!ns.novell.com!jkt
  2. From: jkt@SED.Provo.Novell.COM (Jack Thomasson)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Bad label: _EVAL_
  5. Message-ID: <JKT.92Sep3135937@seneca.SED.Provo.Novell.COM>
  6. Date: 3 Sep 92 20:59:37 GMT
  7. References: <1992Sep3.082620.13684@sbil.co.uk>
  8. Sender: usenet@Novell.COM (Usenet News)
  9. Organization: Novell, Inc.
  10. Lines: 25
  11. In-Reply-To: jim@spitws117.sbil.co.uk's message of 3 Sep 92 08:26:20 GMT
  12. Nntp-Posting-Host: seneca.sed.provo.novell.com
  13.  
  14. >>>>> On 3 Sep 92 08:26:20 GMT, jim@spitws117.sbil.co.uk (James
  15. >>>>> Gillespie) said:
  16.  
  17. James>     open (OUTPUT, "> $oldfile") || die "Couldn't open '$oldfile' for writing\n";
  18.  
  19. the old "how many single quotes was that, anyway?" bug.  try:
  20.  
  21. ... || die "could not open $oldfile for writing\n"; # avoid the problem
  22.  
  23. or
  24.  
  25. ... || die "couldn\'t open \'$oldfile\' for writing\n"; # escape the
  26. problem
  27.  
  28. James> Jim Gillespie ----------------------------------------------------
  29. James> jim@sbil.co.uk              Salomon Brothers International Limited
  30. James> +44 71 721 2672             --------------------------------------
  31. James>            "Three strikes and you're history, kiddo!" - Calvin's mom
  32. --
  33. ---------------------------------------------------------------------
  34. Jack Thomasson                   :{)}               (the bearded one)
  35. Internet:Jack_Thomasson@SED.Provo.Novell.COM           MHS:JKT@NOVELL
  36. Novell, Inc. /  MS E-23-2 /  122 East 1700 South /   Provo, UT  84606
  37. Phone: (800)453-1267x7604 | (801)429-7604          FAX: (801)429-5511
  38. "WARNING: the comments do not necessarily reflect the implementation"
  39.