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