From owner-freebsd-questions Tue May 27 07:51:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA16462 for questions-outgoing; Tue, 27 May 1997 07:51:11 -0700 (PDT) Received: from www.stv.ee (www.stv.ee [195.50.193.34]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA16425 for ; Tue, 27 May 1997 07:50:37 -0700 (PDT) Received: from D.stv.ee ([195.50.193.36]) by www.stv.ee (8.8.5/8.8.5) with ESMTP id RAA01447 for ; Mon, 27 May 1996 17:30:54 +0300 (EEST) Message-ID: <338AF41E.E944C3F8@stv.ee> Date: Tue, 27 May 1997 17:47:58 +0300 From: Dmitri Baranov X-Mailer: Mozilla 4.0b4 [en] (Win95; I) MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: Perl script X-Priority: 3 (Normal) Content-Type: text/plain; charset=koi8-r Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello. I have a problem I can't resolve. I have a file (counter.cgi) in /usr/home/dima/cgi-bin directory. The execution right is applied. The first line of file is "#!/usr/bin/perl" BUT ! when I am typing ">counter.cgi" I got a command not found. It works only in ">perl counter.cgi" variant. How can I start only "counter.cgi" ? Thanks Dmitry Baranov