Date: Tue, 2 Apr 1996 19:07:15 +0200 (MET DST) From: "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de> To: branson@longstreet.larc.nasa.gov (Branson Matheson) Cc: paul@nation-net.com, freebsd-questions@FreeBSD.ORG Subject: Re: Perl scripts Message-ID: <199604021707.TAA09726@gilberto.physik.rwth-aachen.de> In-Reply-To: <199604021310.IAA06517@longstreet.larc.nasa.gov> from "Branson Matheson" at Apr 2, 96 08:10:46 am
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.
> 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
>
--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604021707.TAA09726>
