CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Displaying installed Perl modules?

 



AndrewG
stranger

Jul 25, 2001, 2:25 PM

Post #1 of 3 (966 views)
Displaying installed Perl modules? Can't Post

Webmin has a nice little utility that shows me all the installed Perl modules on my Linux machine. Is there a way that those can be displayed from the command line?

TIA



mhx
Enthusiast / Moderator

Jul 25, 2001, 10:01 PM

Post #2 of 3 (957 views)
Re: Displaying installed Perl modules? [In reply to] Can't Post

Perhaps the ExtUtils::Installed module, which is part of the standard perl distribution, can help you. You could use

Code
perl -mExtUtils::Installed -e'print "$_\n" for ExtUtils::Installed->new->modules'

at the commandline for example, or write a more sophisticated script.
Hope this helps,

-- Marcus


Code
s$$ab21b8d15c3d97bd6317286d$;$"=547269736;split'i',join$,,map{chr(($*+= 
($">>=1)&1?-hex:hex)+0140)}/./g;$"=chr$";s;.;\u$&;for@_[0,2];print"@_,"



AndrewG
stranger

Jul 27, 2001, 3:09 PM

Post #3 of 3 (946 views)
Re: Displaying installed Perl modules? [In reply to] Can't Post

That works great. Thanks!


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives