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