On Sun, 27 Mar 2005 18:19:22 +0300, Octavian Rasnita wrote: > Have you noticed that "-l" parameter? > If it is used, the perldoc command just show the directory where the module > is installed. > > Teddy >
Sigh... did you even try out my example? Please read my answer *carefully*, the "perldoc Pod::Perldoc" command will return 'No documentation found for "Pod::Perldoc".' regardless of whether you use the "-l" switch or not, since Pod::Perldoc *has no pod documentation*. However, Pod::Perldoc *is* an installed module. So using "perldoc -l Module::Name" as a means to finding out whether or not a module is installed is not a very robust way of doing it. The other ways posted by various people are much better. Cheers, -- 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>