Re: Very Basic Help

2002-02-14 Thread James Taylor
You should probably read about about the CGI module before attempting to create CGI programs... BUT, to answer your question, you would do something like this: #!/usr/bin/perl use CGI qw/:standard/; use strict; my $test = 1000; print header; print start_html; print "$test\n"; print end_ht

Re: Very Basic Help

2002-02-14 Thread Rob
One thing that I noticed is your shebang line. You have: #!usr/bin/perl I suspect you want: #!/usr/bin/perl -wT Rob Good judgement comes from experience, and experience - well, that comes from poor judgement. On Thu, 14 Feb 2002, Andrew Hughes wrote: > Why do I keep getting a premature end o

RE: Very Basic Help

2002-02-14 Thread Aaron Shurts
es, Andrew Cc: [EMAIL PROTECTED] Subject: Re: Very Basic Help On Feb 14, Hughes, Andrew said: >Why do I keep getting a premature end of script headers error when I try to >run this script? I am going crazy! First, this is better suited for the beginners-cgi mailing list. Second, I sugges

RE: Very Basic Help

2002-02-14 Thread Yacketta, Ronald
what errors messages are seen in the web server logs? IE: (linux/appache) what is in /var/logs/httpd/error_log ??? (name might be off, dont have a linux box ate my disposal atm) -Ron > -Original Message- > From: Hughes, Andrew [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 200

Re: Very Basic Help

2002-02-14 Thread Jeff 'japhy' Pinyan
On Feb 14, Hughes, Andrew said: >Why do I keep getting a premature end of script headers error when I try to >run this script? I am going crazy! First, this is better suited for the beginners-cgi mailing list. Second, I suggest you check the... err... checklist at http://www.perl.com/doc/FA