Re: Perl scripts

[ Available lists | Index of freebsd-questions | Month of Apr 1996 | Week of 2 Apr 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Brandon Gillespie <brandon@tombstone.sunrem.com>
Date
2 Apr 1996 08:39:37
Subject
Re: Perl scripts
Message-ID
Pine.BSF.3.91.960402093826.13563B-100000@tombstone.sunrem.com


[ Hide this part ]
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-


Elapsed time: 0.061 seconds