[ic] How to use the other perl?
Stefan Hornburg Racke
racke@linuxia.de
01 May 2001 18:05:30 +0200
"Voodoo" <voodoo@idola.net.id> writes:
> Hi all,
>
> I have two different versions perl in my Cobalt RAQ-2 Linux (mipsel).
> One is /usr/bin/perl (5.00503) and the other one is /usr/local/bin/perl
> (5.6.1)
> Don't know why, but when I install interchange for the first time, it
> installed everything, including Perl 5.6.1 in /usr/local/bin/perl.
> And, the Interchange can only works with 5.6.1. (I copied
> /usr/local/bin/perl (5.6.1) to /usr/bin/)
> It won't work with the original /usr/bin/perl (5.00503)
>
> But another problems occured, that a lot of scripts do not work with 5.6.1
> (when I replaced 5.00503 with 5.6.1 in /usr/bin/perl)
> So now I want to separate the perl needs, Interchange will use 5.6.1 in
> /usr/local/bin/perl, and all other scripts will use the regular 5.00503 in
> /usr/bin/perl.
>
> My question is, How to instruct the Interchange to use the
> "/usr/local/bin/perl"? instead of the regular /usr/bin/perl.
Change all scripts in INSTALLDIR/bin so that the first line
reads:
#! /usr/local/bin/perl
Ciao
Racke
--
Tech beats design - hold your breath for <B>http://fuckdotcom.de</B>
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)