From owner-freebsd-questions Thu Apr 4 23:52: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wi.rr.com (fe2.rdc-kc.rr.com [24.94.163.49]) by hub.freebsd.org (Postfix) with ESMTP id 691AD37B41A for ; Thu, 4 Apr 2002 23:52:02 -0800 (PST) Received: from wi.rr.com ([65.31.97.147]) by mail2.wi.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Fri, 5 Apr 2002 01:47:20 -0600 Message-ID: <3CAD57A2.C167687F@wi.rr.com> Date: Fri, 05 Apr 2002 01:52:02 -0600 From: boggy Reply-To: nl3481@wi.rr.com X-Mailer: Mozilla 4.7 [en]C-NSCPCD (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: David Banning Cc: questions@FreeBSD.ORG Subject: Re: newbie getting started with perl References: <20020405004511.A6159@mail.clubplus.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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