On Wed, Nov 29, 2000 at 12:07:07PM +0000, Amitava Basu 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"; Your here-doc terminator is the string "EOP"... > <html> > <head><title>Aztec Registration Form</title> > </head> > <body> > EOP ...but down here you use " EOP". perldiag: Can't find string terminator %s anywhere before EOF (F) Perl strings can stretch over multiple lines. This message means that the closing delimiter was omitted. Because bracketed quotes count nesting levels, the following is missing its final parenthesis: print q(The character '(' starts a side comment.); If you're getting this error from a here-document, you may have included unseen whitespace before or after your closing tag. A good programmer's editor will have a way to help you find these characters. You need to make sure you use exactly the same string at the end of the here-doc that you use at the beginning. Ronald # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org