Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 perusing the Monastery: (9)
As of 2014-07-14 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (256 votes), past polls