Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Listing all installed modules

by AcidHawk (Vicar)
on Feb 10, 2004 at 20:13 UTC ( #328011=note: print w/ replies, xml ) Need Help??


in reply to Listing all installed modules

this node has a perl one liner to show installed modules.

It goes like this

$ perl -MExtUtils::Installed -e'my $inst = ExtUtils::Installed->new(); + print $_, $/ for $inst->modules'

More here and here

To get yours to work change print "$_\n"; to print "$mod\n";

You are wanting to print $mod as apposed to $_

-----
Of all the things I've lost in my life, its my mind I miss the most.


Comment on Re: Listing all installed modules
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-07-03 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls