From owner-freebsd-questions Sun Nov 3 07:23:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA29213 for questions-outgoing; Sun, 3 Nov 1996 07:23:22 -0800 (PST) Received: from synesthesia.com (ns.synesthesia.com [205.208.54.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA29207 for ; Sun, 3 Nov 1996 07:23:18 -0800 (PST) Received: from [205.208.54.100] by synesthesia.com with ESMTP (Apple Internet Mail Server 1.1.1); Sun, 3 Nov 1996 10:23:08 -0500 X-Sender: lleung@mail.synesthesia.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 3 Nov 1996 10:23:07 -0500 To: questions@freefall.freebsd.org From: Lawrence Leung Subject: perl script recognition Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I've installed FreeBSD 2.1.5Release with Perl installed from the menus. Running perl scripts by directly calling the interpreter works fine, but the system does not want to run any scripts purely by typing in the name of the script (i.e. "myscript.pl"). Is there a step that I've missed to get the system to recognize perl scripts? Details... 1. First line of perl scripts is "#!/usr/bin/perl" 2. ls -l /usr/bin/perl returns -r-xr-xr-x 1 bin bin 278528 Jul 16 22:20 /usr/bin/perl 3. which perl returns /usr/bin/perl 4. If I type "perl myscript.pl" from the command line, everything seems to work fine. Thanks in advance... Lawrence Leung lleung@synesthesia.com