Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

petdance (2468)

petdance
  andy@petdance.com
http://www.perlbuzz.com/
AOL IM: petdance (Add Buddy, Send Message)
Yahoo! ID: petdance (Add User, Send Message)
Jabber: petdance@gmail.com

I'm Andy Lester, and I like to test stuff. I also write for the Perl Journal, and do tech edits on books. Sometimes I write code, too.

Journal of petdance (2468)

Sunday August 20, 2006
12:16 AM

Module::Depends::Tree

[ #30701 ]
This is a tool for digging into dependencies and showing a snazzy little tree. I needed it to figure out all the dependencies in Socialtext Open http://sourceforge.net/programs/socialtext/.

It's very rough, and not very generalized. Patches and input welcome. Here's what the output looks like:

Dependency tree created Sat Aug 19 23:53:53 2006
Created with Module::Depends::Tree 0.01
$ /usr/bin/deptree build/Deps.yaml

Algorithm::Diff

Alzabo
    Class::Factory::Util
    DBI
    Exception::Class
        Class::Data::Inheritable
        Devel::StackTrace
    Params::Validate
    Tie::IxHash

Apache::Constants

Apache::Reload

Apache::Request
    Apache::Test

Apache::Session::Store::Postgres
    Test::Deep
        Test::NoWarnings
            Test::Tester
        Test::Tester
    Test::Exception
        Sub::Uplevel
        Test::Builder::Tester

...

XML::RSS
    Test::Manifest
    XML::Parser

YAML

Number of times each module is used
58 Params::Validate
23 Module::Build
18 Class::Data::Inheritable
14 Devel::StackTrace
14 Exception::Class
14 HTML::Tagset
13 Class::Singleton

...

  1 URI::FromHash
  1 URI::QueryParam
  1 XML::Feed
  1 YAML

153 total modules

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • It reminds of one of the screens in Apache::Status, although your version looks slightly clearer.

    -Dom