Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.


Comment on Re: Reverse Dependency Usage

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://786171]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-12-17 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (31 votes), past polls