http://www.perlmonks.org?node_id=1000548


in reply to Re^2: Check the dependencies of modules you want to install
in thread Check the dependencies of modules you want to install

I don't think I can do it with just CPANDeps' XML, I would likely have to poll many sources to get that information.

Does the "depth" field tell us anything useful in regard to a module's position in the dependency chain ?

I certainly wouldn't advocate pulling in more sources, as the nice feature of this script is the promptness with which it provides the information.
The only other thing it fails to detect is the case where the version of the dependency that is already installed is not sufficiently recent. (To remedy this would also require significant additional overhead.)
Anyway, like I said, I'll be making good use of it as is ;-)

I opened up one of the XML files in my browser, and found this near the beginning of the file:
This is an experimental XML interface. It's structure and location may change. If you want them to change, please ask. Please try to avoid kicking the shit out of my server, it's only little and doesn't like being bullied.
So there's a couple of things of which we need to be mindful.

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Check the dependencies of modules you want to install
by thomas895 (Deacon) on Oct 24, 2012 at 04:39 UTC

    Does the "depth" field tell us anything useful in regard to a module's position in the dependency chain ?
    I actually did not notice that when I read over the XML. Hmm, I'll think about adding that, somehow.

    The only other thing it fails to detect is the case where the version of the dependency that is already installed is not sufficiently recent.
    Now that I can try to fix. I will update this node when I make a fix to that...
    Update: Nope, I would have to go scanning Makefiles etc., CPAN Deps doesn't provide the version number :-(

    ~Thomas~ 
    "Excuse me for butting in, but I'm interrupt-driven..."