Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Apr 2002 01:52:02 -0600
From:      boggy <nl3481@wi.rr.com>
To:        David Banning <david@skytrackercanada.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: newbie getting started with perl
Message-ID:  <3CAD57A2.C167687F@wi.rr.com>
References:  <20020405004511.A6159@mail.clubplus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Banning wrote:

> I am trying a simple script in perl;
>
> #!/usr/bin/perl
>
> print "Content-type: text/html\n\n";
> print "Hello World!";
>
> the file is saved as hello.cgi and simply displays as it is above
> in my browser. I am wondering if something is not working or if
> I am missing something.
>
> thanks.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

Set exacutable permissions to this file and then run it. Try renaming
the file to .pl

Nick Lozinsky


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CAD57A2.C167687F>