At 12:07 +0000 2000.11.29, 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 >======================================================== > > > #!/usr/bin/perl -w > push (@INC,"/usr/localbusiness/http/accn.com/cgi-bin"); > require("cgi-lib.pl"); > print &PrintHeader; > > &ReadParse(*regitration-data); > print<<"EOP"; > <html> > <head><title>Aztec Registration Form</title> > </head> > <body> > EOP There is space before "EOP". That is illegal. You must have a newline immediately before and immediately after the here-doc terminator. -- Chris Nandor pudge@pobox.com http://pudge.net/ Open Source Development Network pudge@osdn.com http://osdn.com/ # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org