Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Reverse Dependency Usage

by thunders (Priest)
on Aug 05, 2009 at 16:59 UTC ( #786171=note: print w/replies, xml ) Need Help??


in reply to Reverse Dependency Usage

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
Node Status?
node history
Node Type: note [id://786171]
help
Chatterbox?
[ambrus]: My boss wants to generate output data that is impossible to compute from the inputs we have. And I'm trying to convince him that he shouldn't do that.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-12-12 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (332 votes). Check out past polls.

    Notices?