Hello, all. I have several questions about multiply perl versions.
Im not sure this Q is on-topic, but here goes. (btw, its multiple, as in many, not multiply, as opposite of divide)
1) I have got RH9 and FreeBSD and when I was setting up perl5.8.1 script ask me "do I want override old perl exec file", but on FreeBSD I wasn't asked.
I want same prefix for all versions of perl, but want split @INC absolutely(It's ok, i've done it), but I want new version don't overwrite old perl binary file(/usr/bin/perl).
sh Configure -Uusrinstallbin sh Configure -? for help cat config.sh to see existing configuation
2) Is there an easy way to use current perl configuration info(perl -V) to build new one, even better if I can use current configuration as default, but adjust changes to it.
rerunning Configure automatically reuses your previous config.sh, you can override it by using -O option, with -D, -U
3) May be it's better to split prefix, isn't it? For eg: /usr/bin/perl5.8.2/, /usr/bin/perl5.8.3Probably. Alhough shared prefix works (I have:
$ ls /usr/local/lib/perl5/
5.6.2 5.8.0 5.8.1 5.8.2 5.8.3 5.9.0 site_perl
/usr/local/lib/perl5/site_perl:
5.6.1 5.6.2 5.8.0 5.8.1 5.8.2 5.8.3 5.9.0
),
there are a few areas of conflict:
1. perl exe is overwritten by last install. (ameliorated by also installing /usr/local/bin/perl5.8.x)
2. cant have unthreaded/threaded of same version, unless manually renamed
( but they can coexist in lib, ex: lib/5.8.x/i686-linux-thread-multi )
3. cant have static/shared libperl without separate prefixes (unless Ive over-simplified)
4. others ?
4) Is it save to use same @INC with 5.8.x branch?Im not sure what youre getting at - @INC is computed during Configure,
and generally does the right thing: 5.8.3 will include 5.8.[0-2] automatically.
Best regards. Ruslan.
.