in reply to Re^7: uninstalling modules
in thread uninstalling modules

eep. confused now. Which one is it supposed to be? sitearchexp or archlibexp? I was going for archlibexp - is this wrong?

Thanks again

Cxx

Replies are listed 'Best First'.
Re^9: uninstalling modules
by gellyfish (Monsignor) on Jul 21, 2004 at 16:12 UTC

    $dirs[-1] is the last thing in the array, which in the case is $Config{archlibexp}. Just to get it straight $Config{archlibexp} is the location of the archive specific directory for stuff that is installed as part of the core distribution and generally won't have locally installed modules in (expcept perhaps if they are dual-lifed like Term::Cap and you have installed a newer version from CPAN). $Config{sitearchexp} is the architecture specific location for locally installed modules. Now you may have noticed that this does not take into account vendor specific directories as included in perl 5.8.* - I think this is probably a further bug in ExtUtils::Installed which I will need to update the patch to deal with.

    /J\

      OK, all makes sense now. And the uninstall script seems to be working fine. Thanks for all the help!

      Cass xx