Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 1996 09:39:30 -0700 (MST)
From:      Brandon Gillespie <brandon@tombstone.sunrem.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Perl scripts
Message-ID:  <Pine.BSF.3.91.960402093826.13563B-100000@tombstone.sunrem.com>
In-Reply-To: <199604021224.OAA08712@gilberto.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Apr 1996, Christoph P. Kukulies wrote:
> > What is the correct way to call the interpreter in a Perl script
> > 
> > Does #!/usr/bin/perl not work ?
> 
> Yes, this is the usual way. It should work provided that the script is
> executable and /usr/bin/perl exists as executable.
> 
> > 
> > Regards Paul Walsh

If you did a pkg_add of perl5, it will be located in /usr/local/bin/perl,
However, I believe that /usr/bin/perl is perl4 by default, with 2.1-R.  
What I did was move /usr/bin/perl to /usr/bin/perl4, and then ln -s 
/usr/local/bin/perl /usr/bin

-Brandon Gillespie-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960402093826.13563B-100000>