[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Perl Wont Execute
- Subject: Re: [cobalt-users] Perl Wont Execute
- From: "Jamie Martino" <webmaster1@xxxxxxx>
- Date: Fri Jun 7 14:09:01 2002
- Organization: WebConnection.Net, Inc.
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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...