Date: Tue, 02 Apr 1996 18:36:00 +0000 From: Paul Walsh <paul@nation-net.com> To: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> Cc: Branson Matheson <branson@longstreet.larc.nasa.gov>, freebsd-questions@FreeBSD.ORG Subject: Re: Perl scripts Message-ID: <31617390.2383@nation-net.com> References: <199604021707.TAA09726@gilberto.physik.rwth-aachen.de>
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. > Problem SOLVED ! I didn't have #!/usr/bin/perl on the first line ...ooops Thanks all, Paul.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31617390.2383>