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
bruary 14, 2002 10:55 > To: [EMAIL PROTECTED] > Subject: Very Basic Help > > > Why do I keep getting a premature end of script headers error > when I try to > run this script? I am going crazy! > > #!usr/bin/perl > #hmres1.pl > print "Content-type:text/html

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

Very Basic Help

2002-02-14 Thread Hughes, Andrew
Why do I keep getting a premature end of script headers error when I try to run this script? I am going crazy! #!usr/bin/perl #hmres1.pl print "Content-type:text/html\n\n"; $test = 100; print "Test\n"; print "\n"; print "$test\n"; print "\n"; print "\n"; Thanks, Andrew -- To unsubscribe