Dougie G has asked for the wisdom of the Perl Monks concerning the following question:
When run I get the error: Can't find string terminator "END" anywhere before EOF at line 5. What's up with that? Why does it report EOF at line 5? I've used this print command before in other scripts with no problem and I can't figure out what the difference is between now and then. I've also got some scripts that use this print command several times and then the error is only reported with the last instance of the command. Is it just me or is this wierd? I don't know much about this language but I think that the above example should run fine.#!/usr/local/bin/perl print "Content-type:text/html\n\n"; print <<END; <html> <body> Bla bla bla </body> </html> END
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Problems with print ID command
by takshaka (Friar) on Jul 01, 2000 at 08:00 UTC | |
Re: Problems with print ID command
by c-era (Curate) on Jul 01, 2000 at 06:35 UTC | |
(jcwren) Re: Problems with print ID command
by jcwren (Prior) on Jul 01, 2000 at 05:53 UTC | |
Re: Problems with print ID command
by ase (Monk) on Jul 01, 2000 at 06:23 UTC | |
Re: Problems with print ID command
by Dougie G (Initiate) on Jul 01, 2000 at 08:29 UTC |