macPerl has asked for the wisdom of the Perl Monks concerning the following question:
This works as expected running locally but generates the error on the server.#!/usr/bin/perl use CGI qw(:standard); use strict; sub printpage(); printpage(); exit; sub printpage(){ print << "EOF"; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/T +R/html4/loose.dtd"> <html> <head> <title>Thanks for your request </title> </head> <body> <p>Thanks for submitting your information. We will get back to you sho +rtly</p><br> </body> </html> EOF }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Malformed Header Error
by borisz (Canon) on Jul 19, 2004 at 16:31 UTC | |
by macPerl (Beadle) on Jul 19, 2004 at 17:09 UTC | |
by borisz (Canon) on Jul 19, 2004 at 18:37 UTC | |
by macPerl (Beadle) on Jul 20, 2004 at 10:27 UTC | |
by Joost (Canon) on Jul 19, 2004 at 17:33 UTC | |
by macPerl (Beadle) on Jul 19, 2004 at 17:59 UTC | |
|
Re: Malformed Header Error
by ccn (Vicar) on Jul 19, 2004 at 16:28 UTC | |
by macPerl (Beadle) on Jul 19, 2004 at 16:55 UTC |