[oak perl] listing modules

Steve Fink sfink at reactrix.com
Tue Sep 14 14:54:48 CDT 2004


> On Tue, 2004-09-14 at 09:49, David Fetter wrote:
> 
>>On Tue, Sep 14, 2004 at 08:39:24AM -0700, Belden Lyman wrote:
>>
>>>On Mon, 2004-09-13 at 10:43, David Fetter wrote:
>>>
>>>>On Mon, Sep 13, 2004 at 10:36:48AM -0700, patrick wrote:
>>>>
>>>>>Hello,
>>>>>does anyone know the simplest way to list all the perl modules I have installed
>>>>>on my machine?
>>>>
>>>>perldoc perllocal
>>>>
>>>>Cheers,
>>>>D
>>>
>>>That only tells you the modules installed by whomever has write
>>>permission on perllocal.pod.
>>
>>True.  Short of find / or locate, is there some other way to find
>>the rest?

Well, they all have to be findable through @INC, so would this get you 
something close enough?

  perl -le 'print foreach map { glob("$_/*.pm") } @INC'


More information about the Oakland mailing list