From owner-freebsd-questions Tue Apr 2 10:53:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA15032 for questions-outgoing; Tue, 2 Apr 1996 10:53:06 -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 KAA15022 for ; Tue, 2 Apr 1996 10:53:03 -0800 (PST) Received: (from branson@localhost) by longstreet.larc.nasa.gov (8.6.11/8.6.11) id NAA08574; Tue, 2 Apr 1996 13:54:42 -0500 From: Branson Matheson Message-Id: <199604021854.NAA08574@longstreet.larc.nasa.gov> Subject: Re: Perl scripts To: kuku@gilberto.physik.rwth-aachen.de Date: Tue, 2 Apr 1996 13:54:42 -0500 (EST) Cc: paul@nation-net.com, freebsd-questions@FreeBSD.ORG In-Reply-To: <199604021707.TAA09726@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Apr 2, 96 07:07:15 pm 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 > > Wrong. Running the script that way sh would try to execute the > commands in it as shell commands. The #! line would be treated as > comment. True.. I stand ( humbly ) corrected. -branson -- ======================================================================== branson matheson | branson@widomaker.com Ferguson SysAdmin | http://widomaker.com/~branson