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

  1. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!usc!news!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Bad label: _EVAL_
  5. Message-ID: <1992Sep4.173800.2894@netlabs.com>
  6. Date: 4 Sep 92 17:38:00 GMT
  7. Article-I.D.: netlabs.1992Sep4.173800.2894
  8. References: <1992Sep3.082620.13684@sbil.co.uk> <1992Sep3.125634.18779@sbil.co.uk>
  9. Sender: news@netlabs.com
  10. Organization: NetLabs, Inc.
  11. Lines: 17
  12. Nntp-Posting-Host: scalpel.netlabs.com
  13.  
  14. In article <1992Sep3.125634.18779@sbil.co.uk> jim@spitws117.sbil.co.uk writes:
  15. : Oops.  There go another few hundreds or even thousands of dollars.
  16.  
  17. Gee, who wrote that stupid message anyway?  :-)
  18.  
  19. : After a little more experimentation I have discovered the error.  The
  20. : script was written to be run by root and $oldfile is a file which is
  21. : writable only by root (but readable by everyone).  When I tested the
  22. : script as me with a file writable by me, and when I tested it as root
  23. : with the original file, it worked fine.  Which leaves me with another
  24. : question: why the cryptic bad label error instead of dying with the
  25. : given error message?  What did I do wrong?
  26.  
  27. You probably returned out of an eval somewhere else, so the die command
  28. still thought it was in an eval when it wasn't.
  29.  
  30. Larry
  31.