To piggy back off of this question... Is there a way to just list out
the modules you have installed?

-----Original Message-----
From: Mug [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 04, 2006 11:24 PM
To: zhihua li
Cc: beginners@perl.org
Subject: Re: an easy way to know if a module is installed or not


zhihua li wrote:
> hi netters,
>
> I've a question about installed modules in perl. To get an idea as to
> weather or not a specific module (say A.pm) is present in my perl I
> can search if there's a A.pm in the directories specified by @INC. But
> isn't there an easier way? Can I browse or even search through all the
> modules already installed in perl directly instead of do the search?
>
> Thank you very much!
>
>
>
An easy way.

perldoc -m The::Module::You::Want;

or

perl -e "use The::Module::You::Want";

you 'll notice if the module is installed or not for the outcome result.


HTH,
Mug

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to