Have you noticed that "-l" parameter?
If it is used, the perldoc command just show the directory where the module
is installed.

Teddy

----- Original Message ----- 
From: "Offer Kaye" <[EMAIL PROTECTED]>
To: "Perl Beginners" <beginners@perl.org>
Sent: duminica, 27 martie 2005 18:02 PM
Subject: Re: ideintifying whether a module is already installed or not


On Sun, 27 Mar 2005 09:27:09 -0500, Randy W. Sims wrote:
>
> or even
>
> perldoc -l Module::Name
>

Nope, that won't do. What if a module is installed but has no pod file
or embedded pod? Example:

> perldoc -l Pod::Perldoc
No documentation found for "Pod::Perldoc".
> perl -MPod::Perldoc -e'print "Exists!\n"'
Exists!

-- 
Offer Kaye

-- 
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