Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 1996 13:54:42 -0500 (EST)
From:      Branson Matheson <branson@longstreet.larc.nasa.gov>
To:        kuku@gilberto.physik.rwth-aachen.de
Cc:        paul@nation-net.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Perl scripts
Message-ID:  <199604021854.NAA08574@longstreet.larc.nasa.gov>
In-Reply-To: <199604021707.TAA09726@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Apr 2, 96 07:07:15 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > 
> > > 
> > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604021854.NAA08574>