Right. Sorry.
It turns out that I had left out a some lines that I normally include by
habit. For some reason, I zoned it this time. The faulty line was this:
BEGIN { print "Content_type: text/html \n\n<HTML>\n"; }
There are a couple of problems with this line, most importantly, I forgot to
call the CGI.pm module. So the properly functioning lines were these:
=====================Start Code=======================
BEGIN { $|=1;
print "Content-type: text/html\n\n<HEAD></HEAD>\n<BODY>\n";
}
use CGI qw/:all/;
=====================End Code==================
I'm not sure where that bad line came from. Cut and pasted from an older
practice program, I suppose.
Skipper
-------- Original Message --------
Subject: Re: Submit button downloads script--Problem solved
Date: Sat, 02 Sep 2006 13:51:37 -0500
From: Andy Bach <[EMAIL PROTECTED]>
To: Robert Boyd Skipper <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Robert Boyd Skipper wrote:
>Group:
>
>No need for anyone else to reply. Bill Hoopes rescued me. Thank you.
>
>
>
It doesn't hurt to follow up w/ what the actual fix was. Keeps the list
archives useful, in case somebody else googles up your question and is
looking for the answer.
Thanks.
a
--
Andy Bach, Sys. Mangler
Internet: [EMAIL PROTECTED]
VOICE: (608) 261-5738 FAX 264-5932
"Capital is only the fruit of labor. Labor is the superior of capital and
deserves much the higher consideration."
Abraham Lincoln, first annual address to Congress 1861
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs