From owner-freebsd-questions Tue Feb 12 13:51:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 5B9FD37B402 for ; Tue, 12 Feb 2002 13:51:40 -0800 (PST) Received: from sdn-ar-008dcwashp231.dialsprint.net ([63.178.91.247] helo=moo.holy.cow) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16akpv-0001iy-00; Tue, 12 Feb 2002 13:51:40 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id A513650B8B; Tue, 12 Feb 2002 16:53:34 -0500 (EST) Date: Tue, 12 Feb 2002 16:53:34 -0500 From: parv To: Odhiambo Washington Cc: FBSD-Q Subject: Re: help with perl script Message-ID: <20020212215334.GA24649@moo.holy.cow> Mail-Followup-To: Odhiambo Washington , FBSD-Q References: <20020212170602.GA87738@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020212170602.GA87738@ns2.wananchi.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20020212170602.GA87738@ns2.wananchi.com>, wrote Odhiambo Washington thusly... > ... > String found where operator expected at /usr/local/sbin/expire_mail line 117, near "$line_buffer = "" > (Might be a runaway multi-line "" string starting on line 105) > (Missing semicolon on previous line?) > String found where operator expected at /usr/local/sbin/expire_mail line 143, near "local( $line ) = "" > (Might be a runaway multi-line "" string starting on line 117) > (Missing semicolon on previous line?) ... (see original message for the complete perl program) the double quote on line 104 at the end may be causing the problem. 95 # notice to append to list of deleted messages 96 $notice = " 97 Please read your mail on a regular basis. Old mail should be deleted, ... 104 #Processed by $_expire_mail_rcsid"; 105 Processed by expire_mail_$_rcsid"; ...move line 104 after 105. then try again, see what hits the fan. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message