<?xml version="1.0" encoding="windows-1252"?>
<node id="698851" title="Re: Installed Module Dependencies?" created="2008-07-19 15:35:38" updated="2008-07-19 11:35:38">
<type id="11">
note</type>
<author id="528646">
Khen1950fx</author>
<data>
<field name="doctext">
Here's a little script that I use for finding dependencies:&lt;p&gt;
&lt;c&gt;#!/usr/bin/perl

use strict;
use warnings;
use ExtUtils::MakeMaker;
use CPAN::FindDependencies;

my $mod = prompt("Enter module name: ");

my @dependencies = CPAN::FindDependencies::finddeps($mod);
foreach my $dep (@dependencies) {
    print ' ' x $dep-&gt;depth();
    print $dep-&gt;name().' ('.$dep-&gt;distribution().")\n"
}&lt;/c&gt;&lt;p&gt;
It can be adjusted to fit your needs.</field>
<field name="root_node">
698698</field>
<field name="parent_node">
698698</field>
</data>
</node>
