Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 1996 08:10:46 -0500 (EST)
From:      Branson Matheson <branson@longstreet.larc.nasa.gov>
To:        paul@nation-net.com (Paul Walsh)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Perl scripts
Message-ID:  <199604021310.IAA06517@longstreet.larc.nasa.gov>
In-Reply-To: <31610F88.299@nation-net.com> from "Paul Walsh" at Apr 2, 96 11:29:12 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
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



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