Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
An easy way to get reverse dependencies is to use cpangraph. You'd run it like this:
cpangraph --reverse CGI
It'll produce a svg graph in the current directory. Use your browser to view it. Now, to get to the point where you can run that command, you'll need to install CPANDB::Generator. Then run this:
#!/usr/bin/perl use strict; use warnings; use CPANDB::Generator; my $cpan = CPANDB::Generator->new( cpan => '/root/.cpan', sqlite => '/root/CPANDB.sqlite', )->run;
That will fetch the sqlite database necessary to get the dependencies. It'll take time, so be patient. Next, make sure that your system can handle svg. Here's a bundle that I used, and, trust me, it works. The whole process will take a couple of hours, so hang tight. Then you're good to go.
#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->force('install', "Test", "Test::More", "URI", "LWP::Simple", "LWP::Online", "Time::HiRes", "Getopt::Long", "List::Util", "Scalar::Util", "Math::Complex", "Graph::Directed", "SVG::XML", "GD::SVG", "XML::Parser", "XML::SAX", "SVG::Parser", "Pod::Usage", "XML::Twig", "SVG::Metadata", "Class::Date", "Clone", "Image::ExifTool", "Math::Trig", "Readonly", "Template", "Template::Provider::FromDATA", "Test::Kwalitee", "Test::Perl::Critic", "version", "Test::Pod", "Test::Pod::Coverage", "Test::Spelling", "SVG::Calendar", "Statistics::Descriptive", "Tree::DAG_Node", "Math::Spline", "Math::Derivative", "SVG::Graph", "Transform::Canvas", "Data::Dumper", "Config::General", "SVG::Template::Graph", "DateTime", "HTTP::Date", "Compress::Zlib", "XML::XPath", "Math::BaseCnv", "XML::Tidy", "SVG::TT::Graph", "Geo::ShapeFile", "Date::Simple", "XML::Generator::SVG::ShapeFile", "SVG::DOM2", "GD::Text", "UML::Sequence", "IO::String", "Image::Info", "Test::NoWarnings", "Graphics::ColorNames", "Graphics::ColorNames::WWW", "SVG::Sparkline", "Class::Accessor", "Cairo", "Pango", "Params::Validate", "Exception::Class", "Test::Exception", "SVG::Rasterize", "Graph::Easy", "Graph::Easy::As_svg", "Class::Accessor::Fast", "Module::Load", "Module::Pluggable::Fast", "XML::LibXML", "SVG::Convert", "SVGGraph::Pie", "Test::XML", "Algorithm::Points::MinimumDistance", "SVG::Plot", "SVGraph", "Heap", "Graph::Usage");

In reply to Re: CPAN reverse dependencies by Khen1950fx
in thread CPAN reverse dependencies by astroboy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (6)
    As of 2014-07-22 07:52 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (106 votes), past polls