|
Posted by Ignoramus8011 on August 8, 2007, 2:03 pm
Please log in for more thread options
>
>> Is there some clever, canonical way to find out out all modules that
>> were installed on the system via CPAN? I have a server with a lot of
>> modules installed, that I want to replicate, hence the question.
>
> When it comes to anything other than changing your posting id,
> you are indeed a lazy ignoramus.
>
> Read the FFAQ:
>
> C:\Home> perldoc -q "How do I find which modules are installed on my system?"
>
> Sinan
>
You have such a pleasant personality, you must be very good at getting
along with people!
Your answer was right on, thank you.
Here's my function from my bashrc that prints this list, based on your
suggestion:
list-all-installed-modules() {
perl -MExtUtils::Installed -e 'print join( " ",
ExtUtils::Installed->new()->modules() ) . "\n"'
}
i
|