Chas. Owens wrote: > On Fri, Dec 19, 2008 at 11:07, Rex <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
