This is a bug in the version of CPAN that comes with perl 5.6. If a module is in the perl core distribution and you try to install or upgrade it (it's possible that it moved into the core in a later version than 5.6) then that version of CPAN will grab perl to install that module. If you instead download and install the latest version of CPAN by hand (if you try to use CPAN you trigger the bug) then this will be fixed and it will grab only the modules you specify, not the whole perl distribution.
Ian On 10/31/02 2:52 PM, "Trey Harris" <[EMAIL PROTECTED]> wrote: > In a message dated Thu, 31 Oct 2002, Sherm Pendley writes: >> The version of CPAN.pm shipped with OS X is over-zealous about >> installing prerequisites, and will try to install Perl 5.8.0 for you if >> you use it to install the bundle. Unfortunately, in doing so it >> overwrites the existing Perl, causing no end of problems. > > Which brings up a question that's been nagging at me. There must be some > way to tell CPAN, "don't upgrade Perl unless I tell you to, and if some > other module you're trying to install needs a new version of Perl, try to > find an older version of the module that doesn't," isn't there? > > I've never bothered trying to track down this elusive (nonexistant?) > option, since I use the 'ask' mode rather than the 'follow' mode for > dependencies. I just answer 'no' and go to search.cpan.org and work out > the dependencies for myself. Annoying, but it works. :-) > > Trey > >