[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Perl Wont Execute



From: "Tim Dunn" <tdunn@xxxxxxxxxxxxxxxxxxx>
Sent: Friday, June 07, 2002 2:26 PM

> > Try it like this:
> > 
> > #!/usr/bin/perl
> > print "Hello, World!\n";
> 
> On the command line, that will work.  You'll need to add the http
> headers if it's going to be a cgi.  They look something like this:
> 
> 
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print "Hello, World!\n";
> 
> Lots of tutorials available on the web.  Google -> "perl cgi tutorial"
> 
> tim

Oh yeah..  Duh..  Forgot about the damn headers...

-Jamie-
http://w-c.net
WebConnection.Net, Inc.
In a mad world, only the mad are sane...