Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: What modules are installed ?

by reptile (Monk)
on Sep 19, 2000 at 22:55 UTC ( #33177=note: print w/ replies, xml ) Need Help??


in reply to What modules are installed ?

Try perldoc perllocal. It'll show you all the modules you have installed and a bunch of extended information about them (like where each module is installed, and its version), but it doesn't include the standard library modules. The .pod file, perllocal.pod is where this man page comes from and you could probably parse it yourself if you want. It's somewhere in your lib directory (on 5.00502 i found it in /usr/lib/perl5/5.00502/i386-linux-thread).

local $_ = "0A72656B636148206C72655020726568746F6E41207473754A"; while(s/..$//) { print chr(hex($&)) }


Comment on Re: What modules are installed ?
Download Code
RE: Re: What modules are installed ?
by tye (Cardinal) on Sep 19, 2000 at 23:08 UTC

    Note that not all ways of installing modules update this file. Last time I checked, it was the generated Makefile that included the code to update that file. If you use the MakeMaker tools for installing modules without a Makefile, then the perllocal.pod won't be updated (and this was reported as a bug so it might be fixed now). I'm not sure whether PPM, etc. update that file.

            - tye (but my friends call me "Tye")
RE (tilly) 2: What modules are installed ?
by tilly (Archbishop) on Sep 19, 2000 at 23:09 UTC
    Actually this method only shows some modules that were installed properly, missed the ones in the core, and is flaky in a few other ways as well. (Anything people put in by hand won't be there.) I would seriously not trust it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-08-02 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (55 votes), past polls