On Feb 11, 2008 4:04 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Monday 11 February 2008 12:53:35 Andrew Hampe wrote: > > > is there an existing, or planned setting, for the CPAN utilities, that > > will cause it to ignore any already installed dependencies, during an > > installation, except for modules installed during the current session. > > Is this not the way things work now?
It only works that way if the installed module satisfies the prerequisites. E.g. if Foo depends on Bar 1.02 and Bar 1.04 is installed, but Bar 2.0 is available on CPAN, then "cpan Foo" will not install the latest Bar because the currently installed Bar is greater than the specified prerequisite. Andrew's questions make me wonder if this is an "XY problem" -- where a better understanding of the ultimate goal might not let us suggest workable alternatives to hacking CPAN.pm. David