Chas. Owens wrote:
> On Fri, Dec 19, 2008 at 11:07, Rex <perlici...@gmail.com> wrote:
> 
>> 2) How do I know about the modules already installed? (in ActivePerl,
>> I do, "ppm query")
> 
> perl -MModule::Name -e 0
> 
> If you get an error then the module isn't installed

  perl -mExtUtils::Installed -e "print map qq($_\n),
ExtUtils::Installed->new->modules"

will list all installed modules.

(beware line wrap on this - it is a one-line shell command)

Rob


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to