From owner-freebsd-questions Tue Apr 2 05:08:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA20228 for questions-outgoing; Tue, 2 Apr 1996 05:08:35 -0800 (PST) Received: from longstreet.larc.nasa.gov (longstreet.larc.nasa.gov [128.155.25.82]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA20222 for ; Tue, 2 Apr 1996 05:08:33 -0800 (PST) Received: (from branson@localhost) by longstreet.larc.nasa.gov (8.6.11/8.6.11) id IAA06517; Tue, 2 Apr 1996 08:10:46 -0500 From: Branson Matheson Message-Id: <199604021310.IAA06517@longstreet.larc.nasa.gov> Subject: Re: Perl scripts To: paul@nation-net.com (Paul Walsh) Date: Tue, 2 Apr 1996 08:10:46 -0500 (EST) Cc: freebsd-questions@freebsd.org In-Reply-To: <31610F88.299@nation-net.com> from "Paul Walsh" at Apr 2, 96 11:29:12 am X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > What is the correct way to call the interpreter in a Perl script > Does #!/usr/bin/perl not work ? This should most definately work... so does: #! /usr/bin/perl If it is not... try running 'sh -xv {perlscript}' and see what it executes.. you can also run '/usr/bin/perl -d {perlscript}' and see what it executes.. you should get some clue from that.. failing all else .. 'ls -al /usr/bin/perl' and make sure it looks like -r-xr-xr-x 1 bin bin 282624 Nov 16 04:47 /usr/bin/perl -branson -- ======================================================================== branson matheson | branson@widomaker.com Ferguson SysAdmin | http://widomaker.com/~branson