Solved

'format not terminated' in MacPerl5

Posted on 1997-05-16
3
244 Views
Last Modified: 2012-08-13
Should I be aware of anything before using formats under MacPerl?

When I try to compile/execute a script containing a format, MacPerl tells me, that it is not terminated properly, eventhough the format is terminated with a dot (.). I have tryed terminating with dot-newline and dot-newline-return and dot-return combinations, but nothing seems to work.

What should I do?
0
Comment
Question by:klang051697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:klang051697
ID: 1204017
Edited text of question
0
 

Accepted Solution

by:
Stef052197 earned 50 total points
ID: 1204018
Hi,

When the format definition is located in the middle of a script the problem does not occur.

If your format definition is located at the very end of your script, then simply insert a carriage return or two after your dot. It'll fix the problem.

Stef
0
 

Author Comment

by:klang051697
ID: 1204019
Thanks, that problem had bothered me for weeks!! :-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PERL export multiple query results to a JSON file 1 190
Perl efficient DB Call 8 104
Port 80 requests 16 111
How to translate this 2-line while loop into C from Perl? 8 165
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question