Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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($&)) }

Replies are listed 'Best First'.
RE: Re: What modules are installed ?
by tye (Sage) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://33177]
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2017-07-23 01:49 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (343 votes). Check out past polls.