At 08:09 +0100 2001.07.25, Fergus McMenemie wrote:
>I have been using MacPerl5.2.0r4 for years now. Always worked
>fine, no bother! Recently I was trying some XML stuff and I had
>to download the CPM package which in turn allowed me to download
>and install the XML packages I needed.
>
>Latter on, I was debugging a problem with HTTP::Date and finally
>realised that the new version was not being called because of the
>order of the "library module search" path. I should really have
>adjusted the search path such that the "site_perl" folder is first.
>
>Looking on the sun I also saw a number of packages appearing in
>both the "lib" and "site_perl" directories. Again it appeared that
>"site_perl" should perhaps come first in the path.
>
>Whats the scoop!
> where should I install new packages?
> what is the "official position" on the setting of @INC
> or... when should I place modules in site_perl vis lib
Have you downloaded the cpan-mac distribution? It discusses these things
in its README. It notes that you need to put site_perl in first if you
want to override the defaults in lib. I am not prepared to change the perl
default (which is to have site_perl come *after* the main lib directory),
but I might consider it. The way it is done on Unix is to delete the
installed version when you update in site_perl (as an option to CPAN.pm,
otherwise make install warns you). Maybe we should just start recommending
that. For now, the way it works is not going change, but we can revisit it
post-5.6.1.
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/