nerdexam
LPI

201-450 · 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.

System Maintenance

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

(51 responses)
  • A
    82% (42)
  • B
    2% (1)
  • C
    2% (1)
  • D
    10% (5)
  • E
    4% (2)

Topics

#CPAN#Perl modules#software installation#package management

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice