Solved

'format not terminated' in MacPerl5

Posted on 1997-05-16
3
232 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
use perl to insert into MySQL database 9 128
Perl - Mawk 2 87
Linux rename files by reordering dates in the file name 6 33
Perl Write to Specific line in a file 15 76
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now