maddfisherman has asked for the wisdom of the Perl Monks concerning the following question:
Shouldn't it send out an html page? Why doesn't this work? It says: Can't find string terminator "EndHTML" anywhere before EOF#!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); print "Content-type:text/html\n\n"; print <<'EndHTML'; <html> <head> <title>Fish Report</title> </head> </body> </html> EndHTML
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: String terminator problems.
by petdance (Parson) on Jun 21, 2001 at 05:30 UTC | |
|
Re: hello
by voyager (Friar) on Jun 21, 2001 at 04:17 UTC | |
|
(Daddio) Re: hello
by Daddio (Chaplain) on Jun 21, 2001 at 04:43 UTC | |
by chromatic (Archbishop) on Jun 21, 2001 at 05:21 UTC | |
by Daddio (Chaplain) on Jun 21, 2001 at 05:29 UTC | |
|
Re: String terminator problems.
by Anonymous Monk on Jun 21, 2001 at 08:44 UTC | |
|
Re: String terminator problems.
by timbo (Initiate) on Jun 21, 2001 at 16:28 UTC |