[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] syntax error



At 4:13 -0500 12/29/00, David wrote:
>Date: Wed, 29 Nov 2000 12:07:07 +0000 Amitava Basu <incas@vsnl.net> wrote:
>
>>Hello everybody:
>>
>>I am having a lot of problem trying to fix the program.
>>When I run the following program, macperl window shows
>>the following error. It is in line #7.
>>Can someone please help.
>>
>>Amitava
>>
>>========================================================
>># Can't find string terminator "EOP" anywhere before EOF.
>>File 'LC 2:MacPerl ƒ: formregistration.pl'; Line 7
>>========================================================
>>
>>
>> ...
>> print<<"EOP";
>> Thank you $registration-data{"FirstName"}
>>$registration-data{LastName}for registering your
>>	name with Aztec. You will now verify
>>		the information entered in the form.
>>     		Please Correct if necessary</h3>
>> EOP

Based on the line beginning $registration-data above (which has no space
between the quoting >> and the $, it appears that your file has a space at
the start of the line containing EOP.

The ending thing must be alone on its line...no whitespace (or comments,
or...).

  --John

PS...you are neither the first nor the last person to trip over this one.
-- 
John Baxter   jwblist@olympus.net      Port Ludlow, WA, USA

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org