Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 16:53:34 -0500
From:      parv <parv_@yahoo.com>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: help with perl script
Message-ID:  <20020212215334.GA24649@moo.holy.cow>
In-Reply-To: <20020212170602.GA87738@ns2.wananchi.com>
References:  <20020212170602.GA87738@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212215334.GA24649>