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

  1. Path: sparky!uunet!mcsun!uknet!stl!sbil!wet!spitws117!jim
  2. From: jim@spitws117.sbil.co.uk (James Gillespie)
  3. Newsgroups: comp.lang.perl
  4. Subject: Bad label: _EVAL_
  5. Message-ID: <1992Sep3.082620.13684@sbil.co.uk>
  6. Date: 3 Sep 92 08:26:20 GMT
  7. Sender: news@sbil.co.uk
  8. Reply-To: jim@spitws117.sbil.co.uk
  9. Organization: Salomon Brothers International Limited
  10. Lines: 19
  11.  
  12. The subject just about says it all.  I have written a perl script which
  13. appears to run okay until it dies with the following message:
  14.  
  15.     "Bad label: _EVAL_ at <filename> line 367"
  16.  
  17. line 367 is:
  18.  
  19.     open (OUTPUT, "> $oldfile") || die "Couldn't open '$oldfile' for writing\n";
  20.  
  21. For all the difference it makes, $oldfile is defined and has a sensible value.
  22. I am using perl version 3.0.1.9, patch level 41.
  23.  
  24. This error has me completely stumped.  Any help will be greatly appreciated.
  25. Thanks,
  26.  
  27. Jim Gillespie ----------------------------------------------------
  28. jim@sbil.co.uk              Salomon Brothers International Limited
  29. +44 71 721 2672             ---------------------------------------------------
  30.            "Three strikes and you're history, kiddo!" - Calvin's mom
  31.