nerdexam
CompTIA

LX0-101 · Question #339

What command can be used to install a Perl module ('Smodule') 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 ('Smodule') 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

(32 responses)
  • A
    72% (23)
  • B
    13% (4)
  • C
    3% (1)
  • D
    9% (3)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice