LPI
201-400 · Question #120
What command can be used to install a Perl module ('$module') from the CPAN archive?
The correct answer is A. perl -MCPAN -e "install $module". See the full explanation below for the reasoning.
Question
What command can be used to install a Perl module ('$module') from the CPAN archive?
Options
- Aperl -MCPAN -e "install $module"
- Bperl -MCPAN -install $module
- Cperl -i $module
- Dperl -cpan -e "make $module"
- Eperl -cpan -i $module
How the community answered
(45 responses)- A78% (35)
- B7% (3)
- C11% (5)
- D2% (1)
- E2% (1)
Community Discussion
No community discussion yet for this question.