Installed Modulesby xenchu (Friar)
|on Dec 07, 2003 at 04:07 UTC||Need Help??|
xenchu has asked for the wisdom of the Perl Monks concerning the following question:
I know I am overlooking something obvious. I wrote this tiny program to learn what modules are installed on my machine:
When I run it, all I get back is the word Perl. Anyone want to stop laughing long enough to tell me the mistake I am making?
Update:Well, actually I was expecting to see the Perl source distribution modules. According to the perldoc ExtUtils::Installed it is supposed to print all the modules on my system. I will try another way and if it works I will put it here. Thanks to both of you.
Update2:OK, here is the code I came up with:
I am sure that there is a better way to do this. And btw, I have only the standard modules on this machine, a condition I plan to rectify. Anyway, thanks again.
Perl has one Great Advantage and one Great Disadvantage: