Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: ExtUtils::Installed doesn't list all modules

by jacques (Priest)
on Sep 25, 2006 at 04:02 UTC ( #574657=note: print w/replies, xml ) Need Help??

in reply to Re^2: ExtUtils::Installed doesn't list all modules
in thread ExtUtils::Installed doesn't list all modules

Well, how about a hash ref whose keys are the names of all the modules in @INC? Would that meet your needs? This isn't in the documentation for my module, but you could do:
use HTML::Perlinfo::Modules; my $hashref = (HTML::Perlinfo::Modules::find_modules("",1,\@INC))[1]; # Here are all the module names in @INC: print "$_\n" for (keys %$hashref);
P.S. If you want even more information on those modules you can look into the values of those keys. Or just use Data::Dumper to see what's in that hashref.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2016-10-26 01:34 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.