From owner-freebsd-questions Tue Apr 2 08:39:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA07531 for questions-outgoing; Tue, 2 Apr 1996 08:39:37 -0800 (PST) Received: from tombstone.sunrem.com (tombstone.sunrem.com [199.104.90.54]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA07522 for ; Tue, 2 Apr 1996 08:39:33 -0800 (PST) Received: (from brandon@localhost) by tombstone.sunrem.com (8.6.12/8.6.12) id JAA13589; Tue, 2 Apr 1996 09:39:31 -0700 Date: Tue, 2 Apr 1996 09:39:30 -0700 (MST) From: Brandon Gillespie To: freebsd-questions@FreeBSD.ORG Subject: Re: Perl scripts In-Reply-To: <199604021224.OAA08712@gilberto.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 2 Apr 1996, Christoph P. Kukulies wrote: > > What is the correct way to call the interpreter in a Perl script > > > > Does #!/usr/bin/perl not work ? > > Yes, this is the usual way. It should work provided that the script is > executable and /usr/bin/perl exists as executable. > > > > > Regards Paul Walsh If you did a pkg_add of perl5, it will be located in /usr/local/bin/perl, However, I believe that /usr/bin/perl is perl4 by default, with 2.1-R. What I did was move /usr/bin/perl to /usr/bin/perl4, and then ln -s /usr/local/bin/perl /usr/bin -Brandon Gillespie-