Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Reverse Dependency Usage

by tmaly (Monk)
on Aug 05, 2009 at 16:34 UTC ( [id://786163]=perlquestion: print w/replies, xml ) Need Help??

tmaly has asked for the wisdom of the Perl Monks concerning the following question:

Monks,

Is there a site where I can see what other modules use a particular module?
I guess it would be the reverse dependency
I performed a super search, but the results were not what I was looking for

Best Regards, Ty

UpdateI was hoping to use this against CPAN and not modules on my local machine

Replies are listed 'Best First'.
Re: Reverse Dependency Usage
by moritz (Cardinal) on Aug 05, 2009 at 17:10 UTC
      Thanks, this is exactly what I was looking for
      And here I was wrestling with cpandeps for such a purpose. Thanks moritz, one learns something new every day.
Re: Reverse Dependency Usage
by thunders (Priest) on Aug 05, 2009 at 16:59 UTC

    It depends on what you mean by use, and what universe of modules you want to test. All the modules in the lib path on your system? All the modules on CPAN?

    If on your system, and If you are referring to compile time use you can write a script to use File::Find on your @INC path and require() every module found, then check %INC to see if your module is in there.

    But those modules could still be dynamically loading the module, and that's a bit harder to test for.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://786163]
Approved by jrsimmon
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found