'format not terminated' in MacPerl5

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?
klang051697Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Stef052197Connect With a Mentor Commented:
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
 
klang051697Author Commented:
Edited text of question
0
 
klang051697Author Commented:
Thanks, that problem had bothered me for weeks!! :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.