D
Damian
Hello again.
I want to restructure my Perl installation (5.6.1) so it's a bit more
self contained.
Right now everything is scattered.
/usr/bin/perl (and all other binaries that come with it.)
/usr/bin/perl5/*
/usr/man/* (scattered perl man's in here.
I want to structure it like
/usr/local/perl5.6.1/bin/ (lke perl and a whole bunch of other binaries
that come with it.)
/usr/local/perl5.6.1/lib/
/usr/local/perl5.6.1/man/
I have recently setup 5.8.2 as well which follows the self
containedsetup like above:
/usr/local/perl5.8.2/bin/
/usr/local/perl5.8.2/lib/
/usr/local/perl5.8.2/man/
now moving files and making symlinks (so perl5.6.1 remains
/usr/bin/perl) is not a problem, my main question comes down to how do I
update the master @INC to reflect the new paths? I read that Config.pm
has to do with it but that alone doesn't seem to do it.
Also, sicne the 5.6.1 bin's are mixed in with everything else in
/usr/bin, whats the best way to seperate them out? Same for the man's.
Maybe by same creation/mod date as /usr/bin/perl, but is that safest
way?
Thanks
I want to restructure my Perl installation (5.6.1) so it's a bit more
self contained.
Right now everything is scattered.
/usr/bin/perl (and all other binaries that come with it.)
/usr/bin/perl5/*
/usr/man/* (scattered perl man's in here.
I want to structure it like
/usr/local/perl5.6.1/bin/ (lke perl and a whole bunch of other binaries
that come with it.)
/usr/local/perl5.6.1/lib/
/usr/local/perl5.6.1/man/
I have recently setup 5.8.2 as well which follows the self
containedsetup like above:
/usr/local/perl5.8.2/bin/
/usr/local/perl5.8.2/lib/
/usr/local/perl5.8.2/man/
now moving files and making symlinks (so perl5.6.1 remains
/usr/bin/perl) is not a problem, my main question comes down to how do I
update the master @INC to reflect the new paths? I read that Config.pm
has to do with it but that alone doesn't seem to do it.
Also, sicne the 5.6.1 bin's are mixed in with everything else in
/usr/bin, whats the best way to seperate them out? Same for the man's.
Maybe by same creation/mod date as /usr/bin/perl, but is that safest
way?
Thanks