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]
[shmem]: No, not coincidence - prejudice and bias
[shmem]: your scanner is pre-loaded ;-)
[shmem]: anyways, do as is your wont. I won't fight western hypocresy anymore - for today. Let's call that a day, and done.
[erix]: yeah, scanning pre-loaded. I wouldn't have it any other way. As I say, my attention is a rare commodity, jealously guarded.
[erix]: ok, ok. happy pipe-dreams :P

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-03-19 21:10 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.